feat: update pkg name
This commit is contained in:
@@ -9,9 +9,9 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"go.ipao.vip/atomctl/pkg/utils/gomod"
|
||||
"github.com/samber/lo"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"go.ipao.vip/atomctl/pkg/utils/gomod"
|
||||
)
|
||||
|
||||
func getTypePkgName(typ string) string {
|
||||
@@ -60,7 +60,7 @@ type Provider struct {
|
||||
}
|
||||
|
||||
func atomPackage(suffix string) string {
|
||||
root := gomod.GetModuleName() + "/pkg/atom"
|
||||
root := "go.ipao.vip/atom"
|
||||
if suffix != "" {
|
||||
return fmt.Sprintf("%s/%s", root, suffix)
|
||||
}
|
||||
|
||||
@@ -6,8 +6,7 @@ import (
|
||||
{{- range .Imports }}
|
||||
{{.}}
|
||||
{{- end }}
|
||||
. "{{.ProjectPackage}}/pkg/f"
|
||||
|
||||
. "go.ipao.vip/atom/fen"
|
||||
_ "go.ipao.vip/atom"
|
||||
_ "go.ipao.vip/atom/contracts"
|
||||
"github.com/gofiber/fiber/v3"
|
||||
|
||||
Reference in New Issue
Block a user