I generate code from datasource and don't get nullstring sql data type, but generating from sql file still get nullstring data type.
its work (from sql file):
goctl model mysql ddl --src schema/db.sql --dir ./internal/model --style go_zero
its not work (from datasource):
goctl model mysql datasource --url "root:@tcp(127.0.0.1:3306)/qrmenu" --dir ./internal/model --style go_zero --table "*" --cache=true
the result i expected:
I generate code from datasource and don't get nullstring sql data type, but generating from sql file still get nullstring data type.
its work (from sql file):
goctl model mysql ddl --src schema/db.sql --dir ./internal/model --style go_zero
its not work (from datasource):
goctl model mysql datasource --url "root:@tcp(127.0.0.1:3306)/qrmenu" --dir ./internal/model --style go_zero --table "*" --cache=true
the result i expected: