Bläddra i källkod

修改 go mod

duyong mac 7 månader sedan
förälder
incheckning
75c875f2f1
5 ändrade filer med 8 tillägg och 8 borttagningar
  1. 3 3
      app/app.go
  2. 1 1
      app/options.go
  3. 2 2
      examples/app/main.go
  4. 1 1
      examples/errors/main.go
  5. 1 1
      go.mod

+ 3 - 3
app/app.go

@@ -1,14 +1,14 @@
 package app
 
 import (
-	"dy-pkg/app/flagsets"
-	version2 "dy-pkg/app/version"
-	"dy-pkg/logs"
 	"fmt"
 	"github.com/fatih/color"
 	"github.com/moby/term"
 	"github.com/spf13/cobra"
 	"github.com/spf13/viper"
+	"gogs.tyduyong.com/duyong/dy-pkg/app/flagsets"
+	version2 "gogs.tyduyong.com/duyong/dy-pkg/app/version"
+	"gogs.tyduyong.com/duyong/dy-pkg/logs"
 	"io"
 	"os"
 	"runtime"

+ 1 - 1
app/options.go

@@ -1,7 +1,7 @@
 package app
 
 import (
-	"dy-pkg/app/flagsets"
+	"gogs.tyduyong.com/duyong/dy-pkg/app/flagsets"
 )
 
 // CommandLineOptions 从命令行中读取选项参数接口

+ 2 - 2
examples/app/main.go

@@ -1,9 +1,9 @@
 package main
 
 import (
-	"dy-pkg/app"
-	"dy-pkg/app/flagsets"
 	"fmt"
+	"gogs.tyduyong.com/duyong/dy-pkg/app"
+	"gogs.tyduyong.com/duyong/dy-pkg/app/flagsets"
 )
 
 const commandDesc = `pcm(phone cabinet manager)  system command description`

+ 1 - 1
examples/errors/main.go

@@ -4,7 +4,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"dy-pkg/errors"
+	"gogs.tyduyong.com/duyong/dy-pkg/errors"
 )
 
 const (

+ 1 - 1
go.mod

@@ -1,4 +1,4 @@
-module dy-pkg
+module gogs.tyduyong.com/duyong/dy-pkg
 
 go 1.19