mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-13 01:40:00 +08:00
reactor sql generation
This commit is contained in:
@@ -2,13 +2,15 @@ package template
|
||||
|
||||
var Imports = `
|
||||
import (
|
||||
"database/sql"
|
||||
"strings"
|
||||
"database/sql"{{if .withCache}}
|
||||
"fmt"
|
||||
{{end}}"strings"
|
||||
"time"
|
||||
|
||||
"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/tools/goctl/model/sql/builderx"
|
||||
)
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user