chore: gofumpt (#2439)

This commit is contained in:
Kevin Wan
2022-09-22 22:40:01 +08:00
committed by GitHub
parent 2e1e4f3574
commit 1a6d7b3ef6
8 changed files with 29 additions and 29 deletions

View File

@@ -107,7 +107,7 @@ func associatedTypes(tp spec.DefineStruct, tps *[]spec.Type) {
}
// buildTypes gen types to string
func buildTypes(types []spec.Type, all []spec.Type) (string, error) {
func buildTypes(types, all []spec.Type) (string, error) {
var builder strings.Builder
first := true
for _, tp := range types {