-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Milestone
Description
Description
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{}
Swagger-codegen version
Latest master
Related issues/PRs
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.