2020-08-12 09:19:37 +08:00
|
|
|
package template
|
2020-07-29 17:11:41 +08:00
|
|
|
|
2020-08-16 23:28:01 +08:00
|
|
|
var (
|
|
|
|
|
Imports = `import (
|
|
|
|
|
"database/sql"
|
|
|
|
|
"fmt"
|
2020-08-15 18:38:55 +08:00
|
|
|
"strings"
|
2020-07-29 17:11:41 +08:00
|
|
|
"time"
|
|
|
|
|
|
2020-08-16 23:28:01 +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-16 23:28:01 +08:00
|
|
|
"github.com/tal-tech/go-zero/tools/goctl/model/sql/builderx"
|
2020-07-29 17:11:41 +08:00
|
|
|
)
|
|
|
|
|
`
|
2020-08-16 23:28:01 +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"
|
|
|
|
|
)
|
|
|
|
|
`
|
|
|
|
|
)
|