You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running gofmt -d * under samples/client/petstore/go/go-petstore will result in a lot of diff showing how the code should have been formatted in a better way, e.g.
// to determine the Content-Type header
- localVarHttpContentTypes := []string{ }
+ localVarHttpContentTypes := []string{}
Description
Running
gofmt -d *
undersamples/client/petstore/go/go-petstore
will result in a lot of diff showing how the code should have been formatted in a better way, e.g.Swagger-codegen version
Latest master
Related issues/PRs
#6669
Suggest a fix/enhancement
If anyone has time to help improve the code format, the Go template (https://github.com/swagger-api/swagger-codegen/tree/master/modules/swagger-codegen/src/main/resources/go) is a good starting point.
The text was updated successfully, but these errors were encountered: