change: rename LoadFile to LoadFileObject

This commit is contained in:
lilong.129
2024-08-19 22:47:13 +08:00
parent 89d0d4bb96
commit 98ce2cc818
10 changed files with 13 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ func (path *APIPath) GetPath() string {
func (path *APIPath) ToAPI() (*API, error) {
api := &API{}
apiPath := path.GetPath()
err := LoadFile(apiPath, api)
err := LoadFileObject(apiPath, api)
if err != nil {
return nil, err
}