fix golint issues (#450)

This commit is contained in:
Kevin Wan
2021-02-08 17:08:40 +08:00
committed by GitHub
parent 0dda05fd57
commit 9b0625bb83
4 changed files with 5 additions and 4 deletions

View File

@@ -107,7 +107,7 @@ func createWith(dir string, api *spec.ApiSpec, route spec.Route, packetName stri
}
_, err = fp.WriteString(formatSource(tmplBytes.String()))
return nil
return err
}
func doc(route spec.Route) string {