Skip to content

Commit

Permalink
remove unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangx committed Dec 7, 2020
1 parent dc3260b commit 3ff7ec5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions utils_mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,6 @@ func GetColumnsFromMysqlTable(mariadbUser string, mariadbPassword string, mariad
func generateMysqlTypes(obj map[string]map[string]string, columnsSorted []string, depth int, jsonAnnotation bool, gormAnnotation bool, gureguTypes bool) string {
structure := "struct {"

//keys := make([]string, 0, len(obj))
//for key := range obj {
// keys = append(keys, key)
//}
//sort.Strings(keys)

for _, key := range columnsSorted {
mysqlType := obj[key]
nullable := false
Expand Down

0 comments on commit 3ff7ec5

Please sign in to comment.