import.go 637 B

123456789101112131415161718192021222324252627
  1. package template
  2. var (
  3. Imports = `import (
  4. "database/sql"
  5. "fmt"
  6. "strings"
  7. {{if .time}}"time"{{end}}
  8. "github.com/tal-tech/go-zero/core/stores/cache"
  9. "github.com/tal-tech/go-zero/core/stores/sqlc"
  10. "github.com/tal-tech/go-zero/core/stores/sqlx"
  11. "github.com/tal-tech/go-zero/core/stringx"
  12. "github.com/tal-tech/go-zero/tools/goctl/model/sql/builderx"
  13. )
  14. `
  15. ImportsNoCache = `import (
  16. "strings"
  17. {{if .time}}"time"{{end}}
  18. "github.com/tal-tech/go-zero/core/stores/sqlc"
  19. "github.com/tal-tech/go-zero/core/stores/sqlx"
  20. "github.com/tal-tech/go-zero/core/stringx"
  21. "github.com/tal-tech/go-zero/tools/goctl/model/sql/builderx"
  22. )
  23. `
  24. )