package vestmore_generator import ( "testing" sql_generator "github.com/474420502/generator/sql" _ "github.com/go-sql-driver/mysql" // MySQL driver ) func TestGenModel(t *testing.T) { genModel := sql_generator.NewGenModel().WithOpenSqlDriver("mysql", "zunxinfinance:brTziKHKhsCxTcJmA#2@tcp(192.168.3.99:3307)/zunxinfinance?charset=utf8mb4") genModel.WithGenFileDir("../model") genModel.GenWithLogics() }