fix golint issues (#533)

This commit is contained in:
Kevin Wan
2021-03-02 00:11:18 +08:00
committed by GitHub
parent c4b2cddef7
commit af531cf264
3 changed files with 3 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ func ToMap(in interface{}) map[string]interface{} {
return out
}
// FieldNames returns field names from given in.
// deprecated: use RawFieldNames instead automatically while model generating after goctl version v1.1.0
func FieldNames(in interface{}) []string {
out := make([]string, 0)