go get github.com/liupangzi/gpagpa mysql model -h can translate mysql ddl file to Go struct respecting the data alignment, e.g.:
gpa mysql impl -h will generate Go implementations from pre-defined interface based on sqlx, e.g.:
| Name | Name | Last commit date | ||
|---|---|---|---|---|
go get github.com/liupangzi/gpagpa mysql model -h can translate mysql ddl file to Go struct respecting the data alignment, e.g.:
gpa mysql impl -h will generate Go implementations from pre-defined interface based on sqlx, e.g.: