[GO][Client] Use a *os.File for the API Client when uploading and downloading (#14340)

* Change the return type of a file back to a pointer

* Change the api template to handle not double pointer-ing return types of os.File

* Fix unit tests

* Couple more unit test fixes
This commit is contained in:
Ian Cubbon
2023-01-16 01:51:04 -07:00
committed by GitHub
parent 27137e75ce
commit 74073df27c
30 changed files with 154 additions and 154 deletions

View File

@@ -68,7 +68,7 @@ type PetApiServicer interface {
GetPetById(context.Context, int64) (ImplResponse, error)
UpdatePet(context.Context, Pet) (ImplResponse, error)
UpdatePetWithForm(context.Context, int64, string, string) (ImplResponse, error)
UploadFile(context.Context, int64, string, os.File) (ImplResponse, error)
UploadFile(context.Context, int64, string, *os.File) (ImplResponse, error)
}