go-zero/tools/goctl/model/sql/template/import.go
2020-08-08 16:40:10 +08:00

16 lines
313 B
Go

package sqltemplate
var Imports = `
import (
{{if .containsCache}}"database/sql"
"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"
)
`