go zero gorm extension
- add the dependent
go get github.com/SpectatorNan/gorm-zero
- replace template/model in your project with gorm-zero/template/{goctl version}/model
- generate
goctl model mysql -src={patterns} -dir={dir} -cache --home ./template
- go zero model example link: gorm-zero-example