go-xorm / cmd

Command line tools for database operation written by Go, moved to https://gitea.com/xorm/cmd
BSD 3-Clause "New" or "Revised" License
168 stars 77 forks source link

Sort xorm tag map keys #29

Closed uzimith closed 6 years ago

uzimith commented 6 years ago

col.Indexes , col.EnumOptions , col.SetOptions 's types are map[string]int. So, these output is not sorted. I want same reverse structs every time (to get no diff).

lunny commented 6 years ago

Thanks!