mysql database to golang struct conversion tools base on gorm(v1/v2). 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. The exported function is only the auxiliary class function of Gorm, and calls Gorm completely.
Features
- Gui support
- cmd support
- Configure default configuration items
- Can be updated configuration items using command line tools
- Database tables, column field annotation support
- You can enrich data types in def