Skip to content

Commit 7efa535

Browse files
committed
chore: update dependencies
1 parent effef0d commit 7efa535

File tree

12 files changed

+224
-216
lines changed

12 files changed

+224
-216
lines changed

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1+
ALL_GO_MOD_DIRS := $(shell find . -type f -name 'go.mod' -exec dirname {} \; | sort)
2+
13
test:
24
go test ./...
35
go test ./... -short -race
46
go test ./... -run=NONE -bench=. -benchmem
57

68
go_mod_tidy:
7-
go get -u && go mod tidy
9+
go get -u && go mod tidy -go=1.17
810
set -e; for dir in $(ALL_GO_MOD_DIRS); do \
911
echo "go mod tidy in $${dir}"; \
1012
(cd "$${dir}" && \
1113
go get -u ./... && \
12-
go mod tidy); \
14+
go mod tidy -go=1.17); \
1315
done
1416

1517
fmt:

example/redisexample/go.mod

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
module github.com/vmihailenco/taskq/example/redisexample
22

3-
go 1.15
3+
go 1.17
44

55
require (
6-
github.com/go-redis/redis/v8 v8.11.4
6+
github.com/go-redis/redis/v8 v8.11.5
77
github.com/vmihailenco/taskq/v3 v3.2.8
88
)
99

10+
require (
11+
github.com/bsm/redislock v0.7.2 // indirect
12+
github.com/capnm/sysinfo v0.0.0-20130621111458-5909a53897f3 // indirect
13+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
14+
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
15+
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
16+
github.com/go-redis/redis_rate/v9 v9.1.2 // indirect
17+
github.com/google/uuid v1.3.0 // indirect
18+
github.com/hashicorp/golang-lru v0.5.4 // indirect
19+
github.com/klauspost/compress v1.15.1 // indirect
20+
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
21+
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
22+
)
23+
1024
replace github.com/vmihailenco/taskq/v3 => ../..

example/redisexample/go.sum

+28-50
Large diffs are not rendered by default.

example/sqsexample/README.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# taskq example using SQS backend
2+
3+
The example requires `AWS_ACCOUNT_ID`, `AWS_ACCESS_KEY_ID`, and `AWS_SECRET_ACCESS_KEY` environment
4+
variables.
5+
6+
First, start the consumer:
7+
8+
```shell
9+
go run consumer/main.go
10+
11+
```
12+
13+
Then, start the producer:
14+
15+
```shell
16+
go run producer/main.go
17+
```

example/sqsexample/consumer/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"flag"
66
"log"
77

8-
"github.com/vmihailenco/taskq/example/api_worker/sqsexample"
8+
"github.com/vmihailenco/taskq/example/sqsexample"
99
)
1010

1111
func main() {

example/sqsexample/go.mod

+17-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
module github.com/vmihailenco/taskq/example/sqsexample
22

3-
go 1.15
3+
go 1.17
44

55
require (
6-
github.com/aws/aws-sdk-go v1.42.7
7-
github.com/go-redis/redis/v8 v8.11.4
6+
github.com/aws/aws-sdk-go v1.43.45
7+
github.com/go-redis/redis/v8 v8.11.5
88
github.com/vmihailenco/taskq/v3 v3.2.8
99
)
1010

11+
require (
12+
github.com/bsm/redislock v0.7.2 // indirect
13+
github.com/capnm/sysinfo v0.0.0-20130621111458-5909a53897f3 // indirect
14+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
15+
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
16+
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
17+
github.com/go-redis/redis_rate/v9 v9.1.2 // indirect
18+
github.com/hashicorp/golang-lru v0.5.4 // indirect
19+
github.com/jmespath/go-jmespath v0.4.0 // indirect
20+
github.com/klauspost/compress v1.15.1 // indirect
21+
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
22+
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
23+
)
24+
1125
replace github.com/vmihailenco/taskq/v3 => ../..

example/sqsexample/go.sum

+28-48
Large diffs are not rendered by default.

example/sqsexample/producer/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"flag"
66
"log"
77

8-
"github.com/vmihailenco/taskq/example/api_worker/sqsexample"
8+
"github.com/vmihailenco/taskq/example/sqsexample"
99
)
1010

1111
func main() {

extra/taskqotel/go.mod

+18-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,27 @@
11
module github.com/vmihailenco/taskq/extra/taskqotel/v3
22

3-
go 1.15
3+
go 1.17
44

55
replace github.com/vmihailenco/taskq/v3 => ../..
66

77
require (
88
github.com/vmihailenco/taskq/v3 v3.2.8
9-
go.opentelemetry.io/otel v1.0.0-RC2
10-
go.opentelemetry.io/otel/trace v1.0.0-RC2
9+
go.opentelemetry.io/otel v1.6.3
10+
go.opentelemetry.io/otel/trace v1.6.3
1111

1212
)
13+
14+
require (
15+
github.com/bsm/redislock v0.7.2 // indirect
16+
github.com/capnm/sysinfo v0.0.0-20130621111458-5909a53897f3 // indirect
17+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
18+
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
19+
github.com/go-logr/logr v1.2.3 // indirect
20+
github.com/go-logr/stdr v1.2.2 // indirect
21+
github.com/go-redis/redis/v8 v8.11.5 // indirect
22+
github.com/go-redis/redis_rate/v9 v9.1.2 // indirect
23+
github.com/hashicorp/golang-lru v0.5.4 // indirect
24+
github.com/klauspost/compress v1.15.1 // indirect
25+
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
26+
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
27+
)

extra/taskqotel/go.sum

+41-55
Large diffs are not rendered by default.

go.mod

+24-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,37 @@
11
module github.com/vmihailenco/taskq/v3
22

3-
go 1.11
3+
go 1.17
44

55
require (
6-
github.com/aws/aws-sdk-go v1.42.7
7-
github.com/bsm/redislock v0.7.1
6+
github.com/aws/aws-sdk-go v1.43.45
7+
github.com/bsm/redislock v0.7.2
88
github.com/capnm/sysinfo v0.0.0-20130621111458-5909a53897f3
99
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13
10-
github.com/go-redis/redis/v8 v8.11.4
10+
github.com/go-redis/redis/v8 v8.11.5
1111
github.com/go-redis/redis_rate/v9 v9.1.2
1212
github.com/google/uuid v1.3.0
1313
github.com/hashicorp/golang-lru v0.5.4
1414
github.com/iron-io/iron_go3 v0.0.0-20190916120531-a4a7f74b73ac
15-
github.com/jeffh/go.bdd v0.0.0-20120717032931-88f798ee0c74 // indirect
16-
github.com/klauspost/compress v1.13.6
17-
github.com/kr/pretty v0.2.1 // indirect
18-
github.com/onsi/ginkgo v1.16.4
19-
github.com/onsi/gomega v1.16.0
15+
github.com/klauspost/compress v1.15.1
16+
github.com/onsi/ginkgo v1.16.5
17+
github.com/onsi/gomega v1.18.1
2018
github.com/satori/go.uuid v1.2.0
2119
github.com/vmihailenco/msgpack/v5 v5.3.5
2220
)
21+
22+
require (
23+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
24+
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
25+
github.com/fsnotify/fsnotify v1.4.9 // indirect
26+
github.com/jeffh/go.bdd v0.0.0-20120717032931-88f798ee0c74 // indirect
27+
github.com/jmespath/go-jmespath v0.4.0 // indirect
28+
github.com/kr/pretty v0.2.1 // indirect
29+
github.com/nxadm/tail v1.4.8 // indirect
30+
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
31+
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
32+
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
33+
golang.org/x/text v0.3.7 // indirect
34+
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
35+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
36+
gopkg.in/yaml.v2 v2.4.0 // indirect
37+
)

0 commit comments

Comments
 (0)