From a5d2d86b121f93e47d24a057aef1474f0ecae64e Mon Sep 17 00:00:00 2001 From: googs1025 Date: Fri, 11 Aug 2023 23:14:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9go.mod=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/example1_test.go | 2 +- example/example2_test.go | 2 +- example/http_example/cmd/httpServer.go | 4 ++-- example/http_example/main.go | 2 +- example/http_example/pkg/scheduler/scheduler.go | 2 +- example/http_example/pkg/server/server.go | 6 +++--- example/scheduler/scheduler.go | 2 +- example/scheduler/scheduler_test.go | 2 +- go.mod | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/example/example1_test.go b/example/example1_test.go index d115136..a1cba3a 100644 --- a/example/example1_test.go +++ b/example/example1_test.go @@ -2,7 +2,7 @@ package example import ( "fmt" - "github.com/studyplace-io/work-pool-framework/pkg/workerpool" + "github.com/myconcurrencytools/workpoolframework/pkg/workerpool" "k8s.io/klog/v2" "testing" "time" diff --git a/example/example2_test.go b/example/example2_test.go index aa626ca..0358e78 100644 --- a/example/example2_test.go +++ b/example/example2_test.go @@ -2,7 +2,7 @@ package example import ( "fmt" - "github.com/studyplace-io/work-pool-framework/pkg/workerpool" + "github.com/myconcurrencytools/workpoolframework/pkg/workerpool" "k8s.io/klog/v2" "math/rand" "testing" diff --git a/example/http_example/cmd/httpServer.go b/example/http_example/cmd/httpServer.go index 1e5f273..9668f59 100644 --- a/example/http_example/cmd/httpServer.go +++ b/example/http_example/cmd/httpServer.go @@ -1,9 +1,9 @@ package cmd import ( + "github.com/myconcurrencytools/workpoolframework/example/http_example/pkg/common" + "github.com/myconcurrencytools/workpoolframework/example/http_example/pkg/server" "github.com/spf13/cobra" - "github.com/studyplace-io/work-pool-framework/example/http_example/pkg/common" - "github.com/studyplace-io/work-pool-framework/example/http_example/pkg/server" ) func httpServerCmd() *cobra.Command { diff --git a/example/http_example/main.go b/example/http_example/main.go index 3d7ef18..0ac8e90 100644 --- a/example/http_example/main.go +++ b/example/http_example/main.go @@ -1,6 +1,6 @@ package main -import "github.com/studyplace-io/work-pool-framework/example/http_example/cmd" +import "github.com/myconcurrencytools/workpoolframework/example/http_example/cmd" func main() { cmd.Execute() diff --git a/example/http_example/pkg/scheduler/scheduler.go b/example/http_example/pkg/scheduler/scheduler.go index c1ce2c7..5620ecd 100644 --- a/example/http_example/pkg/scheduler/scheduler.go +++ b/example/http_example/pkg/scheduler/scheduler.go @@ -1,7 +1,7 @@ package scheduler import ( - "github.com/studyplace-io/work-pool-framework/pkg/workerpool" + "github.com/myconcurrencytools/workpoolframework/pkg/workerpool" "log" ) diff --git a/example/http_example/pkg/server/server.go b/example/http_example/pkg/server/server.go index c7f22fa..cf74aea 100644 --- a/example/http_example/pkg/server/server.go +++ b/example/http_example/pkg/server/server.go @@ -3,9 +3,9 @@ package server import ( "fmt" "github.com/gin-gonic/gin" - "github.com/studyplace-io/work-pool-framework/example/http_example/pkg/common" - "github.com/studyplace-io/work-pool-framework/example/http_example/pkg/scheduler" - "github.com/studyplace-io/work-pool-framework/example/http_example/pkg/server/model" + "github.com/myconcurrencytools/workpoolframework/example/http_example/pkg/common" + "github.com/myconcurrencytools/workpoolframework/example/http_example/pkg/scheduler" + "github.com/myconcurrencytools/workpoolframework/example/http_example/pkg/server/model" ) func HttpServer(c *common.ServerConfig) { diff --git a/example/scheduler/scheduler.go b/example/scheduler/scheduler.go index c1ce2c7..5620ecd 100644 --- a/example/scheduler/scheduler.go +++ b/example/scheduler/scheduler.go @@ -1,7 +1,7 @@ package scheduler import ( - "github.com/studyplace-io/work-pool-framework/pkg/workerpool" + "github.com/myconcurrencytools/workpoolframework/pkg/workerpool" "log" ) diff --git a/example/scheduler/scheduler_test.go b/example/scheduler/scheduler_test.go index d2460c7..9e0b176 100644 --- a/example/scheduler/scheduler_test.go +++ b/example/scheduler/scheduler_test.go @@ -2,7 +2,7 @@ package scheduler import ( "fmt" - "github.com/studyplace-io/work-pool-framework/pkg/workerpool" + "github.com/myconcurrencytools/workpoolframework/pkg/workerpool" "testing" "time" ) diff --git a/go.mod b/go.mod index b143b25..90cff34 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/studyplace-io/work-pool-framework +module github.com/myconcurrencytools/workpoolframework go 1.18