feat: rename module from tal-tech to zeromicro (#1413)

This commit is contained in:
Kevin Wan
2022-01-04 15:51:32 +08:00
committed by GitHub
parent e267d94ee1
commit a91c3907a8
277 changed files with 578 additions and 578 deletions

View File

@@ -65,7 +65,7 @@ type User struct {
"context"
"github.com/globalsign/mgo/bson"
cachec "github.com/tal-tech/go-zero/core/stores/cache"
cachec "github.com/zeromicro/go-zero/core/stores/cache"
"github.com/tal-tech/go-zero/core/stores/mongoc"
)

View File

@@ -7,8 +7,8 @@ import (
"context"
"github.com/globalsign/mgo/bson"
{{if .Cache}}cachec "github.com/tal-tech/go-zero/core/stores/cache"
"github.com/tal-tech/go-zero/core/stores/mongoc"{{else}}"github.com/tal-tech/go-zero/core/stores/mongo"{{end}}
{{if .Cache}}cachec "github.com/zeromicro/go-zero/core/stores/cache"
"github.com/zeromicro/go-zero/core/stores/mongoc"{{else}}"github.com/zeromicro/go-zero/core/stores/mongo"{{end}}
)
{{if .Cache}}var prefix{{.Type}}CacheKey = "cache:{{.Type}}:"{{end}}