gormt
database to golang struct
...You can automatically generate golang sturct from mysql database. big Camel-Case Name Rule, JSON tag. Database tables, column field annotation support. JSON tag and JSON tag output. gorm.Model Support export gorm.model. PRIMARY_KEY Specifies column as primary key. UNIQUE Specifies column as unique. NOT NULL Specifies column as NOT NULL. INDEX Create index with or without name, same name creates composite indexes. UNIQUE_INDEX Like INDEX, create unique index. Support foreign key related properties Support export gorm.model. Support function export (foreign key, association, index , unique and more)Support export function. model.Condition{} sql link. ...