Skip to content

Jazzoe/gorm-zero-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generate model script

goctl model mysql datasource -url="root:localpwd@tcp(localhost:3306)/gormzero" -table="users"  -dir="services/model" -cache=true --style=goZero --home ./template


goctl model mysql datasource -url="root:@tcp(localhost:3306)/data_flow" -table="maker"  -dir="services/model" -cache=true --style=go_zero --home ./template

goctl model mysql datasource -url="root:@tcp(localhost:3306)/data_flow" -table="maker_smart_address"  -dir="services/model" -cache=true --style=go_zero --home ./template

goctl model mysql datasource -url="root:@tcp(localhost:3306)/data_flow" -table="handle_trade_hash"  -dir="services/model" -cache=true --style=go_zero --home ./template

goctl model mysql datasource -url="root:@tcp(localhost:3306)/data_flow" -table="native_token"  -dir="services/model" -cache=true --style=go_zero --home ./template


goctl model mysql datasource -url="root:@tcp(localhost:3306)/data_flow" -table="pair_data_5m"  -dir="services/model" -cache=true --style=go_zero --home ./template


goctl model pg datasource -url="postgres://metaofo:123456@localhost:5432/pg?sslmode=disable" -table="evm_data"  -dir="services/model" -cache=true --style=go_zero --home ./template

About

gorm zero using example code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.3%
  • Makefile 0.7%