change gomod
parent
b61a719a75
commit
e2e29db2d1
|
@ -17,7 +17,7 @@ you can combine whatever you want
|
|||
Install the library:
|
||||
|
||||
```
|
||||
go get github.com/ifooth/machinery-plugins@latest
|
||||
go get git.ifooth.com/common/machinery-plugins@latest
|
||||
```
|
||||
|
||||
Import the library in your code and use it to create tasks:
|
||||
|
@ -28,7 +28,7 @@ import (
|
|||
"github.com/RichardKnop/machinery/v2"
|
||||
redisbackend "github.com/RichardKnop/machinery/v2/backends/redis"
|
||||
eagerlock "github.com/RichardKnop/machinery/v2/locks/eager"
|
||||
etcdbroker "github.com/ifooth/machinery-plugins/brokers/etcd"
|
||||
etcdbroker "git.ifooth.com/common/machinery-plugins/brokers/etcd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Package etcd implement machinery v2 backend iface
|
||||
package etcd
|
||||
|
||||
import (
|
||||
|
|
|
@ -17,10 +17,10 @@ import (
|
|||
opentracinglog "github.com/opentracing/opentracing-go/log"
|
||||
"github.com/urfave/cli"
|
||||
|
||||
etcdbackend "github.com/ifooth/machinery-plugins/backends/etcd"
|
||||
etcdbroker "github.com/ifooth/machinery-plugins/brokers/etcd"
|
||||
exampletasks "github.com/ifooth/machinery-plugins/examples/tasks"
|
||||
etcdlock "github.com/ifooth/machinery-plugins/locks/etcd"
|
||||
etcdbackend "git.ifooth.com/common/machinery-plugins/backends/etcd"
|
||||
etcdbroker "git.ifooth.com/common/machinery-plugins/brokers/etcd"
|
||||
exampletasks "git.ifooth.com/common/machinery-plugins/examples/tasks"
|
||||
etcdlock "git.ifooth.com/common/machinery-plugins/locks/etcd"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
Loading…
Reference in New Issue