Skip to content

Commit

Permalink
fix: 修改go.mod地址
Browse files Browse the repository at this point in the history
  • Loading branch information
googs1025 committed Aug 11, 2023
1 parent a443051 commit a5d2d86
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion example/example1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion example/example2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions example/http_example/cmd/httpServer.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion example/http_example/main.go
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
2 changes: 1 addition & 1 deletion example/http_example/pkg/scheduler/scheduler.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package scheduler

import (
"github.com/studyplace-io/work-pool-framework/pkg/workerpool"
"github.com/myconcurrencytools/workpoolframework/pkg/workerpool"
"log"
)

Expand Down
6 changes: 3 additions & 3 deletions example/http_example/pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion example/scheduler/scheduler.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package scheduler

import (
"github.com/studyplace-io/work-pool-framework/pkg/workerpool"
"github.com/myconcurrencytools/workpoolframework/pkg/workerpool"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion example/scheduler/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/studyplace-io/work-pool-framework
module github.com/myconcurrencytools/workpoolframework

go 1.18

Expand Down

0 comments on commit a5d2d86

Please sign in to comment.