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

@@ -49,7 +49,7 @@ func ToMap(in interface{}) map[string]interface{} {
return out
}
// deprecated: use RawFieldNames instead automaticly while model generating after goctl version v1.1.0
// deprecated: use RawFieldNames instead automatically while model generating after goctl version v1.1.0
func FieldNames(in interface{}) []string {
out := make([]string, 0)
v := reflect.ValueOf(in)