{"repo":"xxjwxc/gormt","free":true,"listed":false,"github":"https://github.com/xxjwxc/gormt","clone":"git clone https://github.com/xxjwxc/gormt.git","description":"database to golang struct","language":"Go","stars":2422,"topics":["gorm","orm","golang","go","mysql","database","mapping","tools","function"],"license":"MIT","category":"databases-storage","readme_excerpt":"中文文档 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. gui support cmd support install or: Dowloading -------- 1. Configure default configuration items through the current directory config.yml file note: for latest version of config format, please check /data/config/MyIni.go 2. get help 3. Can be updated configuration items using command line tools 4. Support for gorm attributes - Database tables, column field annotation support - json tag 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 You can enrich data types in def 5. Demonstration - sql: --- Derived results more 6. support func export The exported function is only the auxiliary class function of Gorm, and calls Gorm completely more how to use call style 7. page Use of paging query in gormt 8. build or note : in windows not support utf-8 style . ASCALL model - Switch encoding mode column notes default - Add a comment to the column starting with [@gorm default:","default_branch":null,"files":null,"tree":[],"storefront":"/r/xxjwxc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xxjwxc/gormt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}