feat: update pkg name

This commit is contained in:
Rogee
2025-02-11 15:53:14 +08:00
parent 0a420a2987
commit fcae9f2e3f
57 changed files with 92 additions and 1355 deletions

View File

@@ -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)
}