db2struct
db2struct copied to clipboard
Converts a mysql table into a golang struct
* Add support for Unix sockets * Run gofmt
when I run db2struct the original table field order is not respected, is there a way to generate the fields where this original order is respected?
add comment 增加数据库的注释
When piping output to a file db2struct -h host -u user -p -t whatever... >> ~/test.go any errors messages, and the "Password:" prompt, are also sent to the file, the...
how to use it? when haved get ths db2struct , i run the command like: db2struct --host localhost -d test -t test_table --package myGoPackage --struct testTable -p --user testUser in...