2020-08-19 10:41:19 +08:00
|
|
|
package template
|
2020-07-29 17:11:41 +08:00
|
|
|
|
2020-08-19 10:41:19 +08:00
|
|
|
var (
|
|
|
|
Imports = `import (
|
|
|
|
"database/sql"
|
|
|
|
"fmt"
|
2020-07-29 17:11:41 +08:00
|
|
|
"strings"
|
|
|
|
"time"
|
|
|
|
|
2020-08-19 10:41:19 +08:00
|
|
|
"github.com/tal-tech/go-zero/core/stores/cache"
|
2020-08-08 16:40:10 +08:00
|
|
|
"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"
|
2020-08-19 10:41:19 +08:00
|
|
|
"github.com/tal-tech/go-zero/tools/goctl/model/sql/builderx"
|
2020-07-29 17:11:41 +08:00
|
|
|
)
|
|
|
|
`
|
2020-08-19 10:41:19 +08:00
|
|
|
ImportsNoCache = `import (
|
|
|
|
"database/sql"
|
|
|
|
"strings"
|
|
|
|
"time"
|
|
|
|
|
|
|
|
"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"
|
|
|
|
)
|
|
|
|
`
|
|
|
|
)
|