Commit e56c546b by Yuchao Shen

修改目录层级

parent 21947762
......@@ -3,7 +3,7 @@ package svc
import (
"github.com/go-playground/validator/v10"
{{.configImport}}
valid "user-portrait/userportrait/common/validator"
valid "user-portrait/pkg/validator"
)
type ServiceContext struct {
......
......@@ -6,8 +6,8 @@ import (
"github.com/zeromicro/go-zero/rest/httpx"
{{.ImportPackages}}
"user-portrait/userportrait/common/validator"
"user-portrait/userportrait/common/errorx"
"user-portrait/pkg/validator"
"user-portrait/pkg/errorx"
)
func {{.HandlerName}}(svcCtx *svc.ServiceContext) http.HandlerFunc {
......
......@@ -3,7 +3,7 @@ import (
"errors"
"fmt"
{{if .time}}"time"{{end}}
"user-portrait/userportrait/common/gormc"
"user-portrait/pkg/gormc"
"github.com/zeromicro/go-zero/core/stores/cache"
"gorm.io/gorm"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment