Golang struct generator from mysql schema
go install github.com/fifsky/genstruct
genstruct -h localhost -u root -p 3306 -P 123456
-h
defaultlocalhost
-u
defaultroot
-p
default3306
The structure can be applied to a gosql package
The source code is available under the MIT License.