feat: change package name

This commit is contained in:
sujit
2024-09-26 11:46:41 +05:45
parent 4f8144b4e5
commit 58b38d49b7
5 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ import (
"github.com/oarkflow/xid"
"github.com/oarkflow/xsync"
"github.com/oarkflow/golong/utils"
"github.com/oarkflow/mq/utils"
)
type Handler func(context.Context, Task) Result

View File

@@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/oarkflow/golong/broker"
"github.com/oarkflow/mq/broker"
)
func main() {

View File

@@ -6,7 +6,7 @@ import (
"fmt"
"time"
"github.com/oarkflow/golong/broker"
"github.com/oarkflow/mq/broker"
)
func handleNode1(_ context.Context, task broker.Task) broker.Result {

View File

@@ -5,7 +5,7 @@ import (
"fmt"
"time"
"github.com/oarkflow/golong/broker"
"github.com/oarkflow/mq/broker"
)
func main() {

4
go.mod
View File

@@ -1,7 +1,7 @@
module github.com/oarkflow/golong
module github.com/oarkflow/mq
go 1.23
require github.com/oarkflow/xsync v0.0.5
require github.com/oarkflow/xid v1.2.5 // indirect
require github.com/oarkflow/xid v1.2.5