modify model
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
{{if .time}}"time"{{end}}
|
||||
|
||||
{{if .containsPQ}}"github.com/lib/pq"{{end}}
|
||||
{{if .decimal}}"github.com/shopspring/decimal"{{end}}
|
||||
"github.com/zeromicro/go-zero/core/stores/builder"
|
||||
"github.com/zeromicro/go-zero/core/stores/sqlx"
|
||||
"github.com/zeromicro/go-zero/core/stringx"
|
||||
|
||||
@@ -6,6 +6,7 @@ import (
|
||||
{{if .time}}"time"{{end}}
|
||||
|
||||
{{if .containsPQ}}"github.com/lib/pq"{{end}}
|
||||
{{if .decimal}}"github.com/shopspring/decimal"{{end}}
|
||||
"github.com/zeromicro/go-zero/core/stores/builder"
|
||||
"github.com/zeromicro/go-zero/core/stores/cache"
|
||||
"github.com/zeromicro/go-zero/core/stores/sqlc"
|
||||
|
||||
@@ -1 +1 @@
|
||||
`db:"{{.field}}"`
|
||||
`db:"{{.field}}" json:"{{.field}}"`
|
||||
Reference in New Issue
Block a user