import.go 660 B

1234567891011121314151617181920212223242526272829
  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. "database/sql"
  17. "fmt"
  18. "strings"
  19. {{if .time}}"time"{{end}}
  20. "github.com/tal-tech/go-zero/core/stores/sqlc"
  21. "github.com/tal-tech/go-zero/core/stores/sqlx"
  22. "github.com/tal-tech/go-zero/core/stringx"
  23. "github.com/tal-tech/go-zero/tools/goctl/model/sql/builderx"
  24. )
  25. `
  26. )