Update template (#1243)

This commit is contained in:
anqiansong
2021-11-15 21:02:11 +08:00
committed by GitHub
parent 09eb53f308
commit b0573af9a9
2 changed files with 4 additions and 4 deletions

View File

@@ -8,11 +8,11 @@ var (
"strings"
{{if .time}}"time"{{end}}
"github.com/tal-tech/go-zero/core/stores/builder"
"github.com/tal-tech/go-zero/core/stores/cache"
"github.com/tal-tech/go-zero/core/stores/sqlc"
"github.com/tal-tech/go-zero/core/stores/sqlx"
"github.com/tal-tech/go-zero/core/stringx"
"github.com/tal-tech/go-zero/core/stores/builderx"
)
`
// ImportsNoCache defines a import template for model in normal case
@@ -22,10 +22,10 @@ var (
"strings"
{{if .time}}"time"{{end}}
"github.com/tal-tech/go-zero/core/stores/builder"
"github.com/tal-tech/go-zero/core/stores/sqlc"
"github.com/tal-tech/go-zero/core/stores/sqlx"
"github.com/tal-tech/go-zero/core/stringx"
"github.com/tal-tech/go-zero/core/stores/builderx"
)
`
)