Skip to content

Commit 6da6d0c

Browse files
author
Ameer A
authored
Merge pull request #61 from ojizero/correct-v2
Corrected import paths for V2
2 parents 19c177c + ea2e4ca commit 6da6d0c

File tree

15 files changed

+25
-22
lines changed

15 files changed

+25
-22
lines changed

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/matryer/vice
1+
module github.com/matryer/vice/v2
22

33
go 1.17
44

@@ -7,6 +7,7 @@ require (
77
github.com/go-redis/redis v6.15.9+incompatible
88
github.com/gofrs/uuid v4.2.0+incompatible
99
github.com/matryer/is v1.4.0
10+
github.com/matryer/vice v1.0.0
1011
github.com/maxbrunsfeld/counterfeiter/v6 v6.5.0
1112
github.com/nats-io/nats.go v1.15.0
1213
github.com/nats-io/stan.go v0.10.2

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
8282
github.com/lib/pq v1.10.4/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
8383
github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE=
8484
github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU=
85+
github.com/matryer/vice v1.0.0 h1:s8ZwFErl4GSZYhYhuTtHLr3XHMO8jG+XtujnD7JolXM=
86+
github.com/matryer/vice v1.0.0/go.mod h1:FtjaKxEaDRSDTV0FvFL2TvL0E56LdI/Q2uE/v4yyLSI=
8587
github.com/mattn/go-colorable v0.1.4 h1:snbPLB8fVfU9iwbbo30TPtbLRzwWu6aJS6Xh4eaaviA=
8688
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
8789
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=

queues/nats/nats.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"sync"
66
"time"
77

8-
"github.com/matryer/vice"
8+
"github.com/matryer/vice/v2"
99
"github.com/nats-io/nats.go"
1010
"github.com/nats-io/stan.go"
1111
)

queues/nats/nats_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
uuid "github.com/gofrs/uuid"
99
"github.com/matryer/is"
10-
"github.com/matryer/vice"
11-
"github.com/matryer/vice/vicetest"
10+
"github.com/matryer/vice/v2"
11+
"github.com/matryer/vice/v2/vicetest"
1212
"github.com/nats-io/nats.go"
1313
"github.com/nats-io/stan.go"
1414
)

queues/nsq/nsq.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"sync"
66
"time"
77

8-
"github.com/matryer/vice"
98
"github.com/matryer/vice/backoff"
9+
"github.com/matryer/vice/v2"
1010
"github.com/nsqio/go-nsq"
1111
)
1212

queues/nsq/nsq_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"time"
99

1010
"github.com/matryer/is"
11-
"github.com/matryer/vice"
12-
"github.com/matryer/vice/vicetest"
11+
"github.com/matryer/vice/v2"
12+
"github.com/matryer/vice/v2/vicetest"
1313
"github.com/nsqio/go-nsq"
1414
)
1515

queues/rabbitmq/rabbitmq.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package rabbitmq
44
import (
55
"sync"
66

7-
"github.com/matryer/vice"
7+
"github.com/matryer/vice/v2"
88
"github.com/streadway/amqp"
99
)
1010

queues/rabbitmq/rabbitmq_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"time"
88

99
"github.com/matryer/is"
10-
"github.com/matryer/vice"
11-
"github.com/matryer/vice/vicetest"
10+
"github.com/matryer/vice/v2"
11+
"github.com/matryer/vice/v2/vicetest"
1212
"github.com/streadway/amqp"
1313
)
1414

queues/redis/redis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"time"
77

88
"github.com/go-redis/redis"
9-
"github.com/matryer/vice"
9+
"github.com/matryer/vice/v2"
1010
)
1111

1212
// Transport is a vice.Transport for redis.

queues/redis/redis_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"time"
88

99
"github.com/matryer/is"
10-
"github.com/matryer/vice"
11-
"github.com/matryer/vice/vicetest"
10+
"github.com/matryer/vice/v2"
11+
"github.com/matryer/vice/v2/vicetest"
1212
)
1313

1414
func TestTransport(t *testing.T) {

0 commit comments

Comments
 (0)