go get github.com/liupangzi/gpa
gpa 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.:
go get github.com/liupangzi/gpa
gpa 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.: