mirror of
https://github.com/oarkflow/mq.git
synced 2025-10-05 16:06:55 +08:00
feat: change package name
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
|||||||
"github.com/oarkflow/xid"
|
"github.com/oarkflow/xid"
|
||||||
"github.com/oarkflow/xsync"
|
"github.com/oarkflow/xsync"
|
||||||
|
|
||||||
"github.com/oarkflow/golong/utils"
|
"github.com/oarkflow/mq/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Handler func(context.Context, Task) Result
|
type Handler func(context.Context, Task) Result
|
||||||
|
@@ -4,7 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/oarkflow/golong/broker"
|
"github.com/oarkflow/mq/broker"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@@ -6,7 +6,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/oarkflow/golong/broker"
|
"github.com/oarkflow/mq/broker"
|
||||||
)
|
)
|
||||||
|
|
||||||
func handleNode1(_ context.Context, task broker.Task) broker.Result {
|
func handleNode1(_ context.Context, task broker.Task) broker.Result {
|
||||||
|
@@ -5,7 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/oarkflow/golong/broker"
|
"github.com/oarkflow/mq/broker"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Reference in New Issue
Block a user