diff --git a/.github/workflows/pr-examples.yml b/.github/workflows/pr-examples.yml index aed799070..e101d3a30 100644 --- a/.github/workflows/pr-examples.yml +++ b/.github/workflows/pr-examples.yml @@ -11,6 +11,6 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '^1.19.1' + go-version: '^1.21.1' - run: make validate_examples timeout-minutes: 30 \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d672afff2..24577668a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '^1.19.1' + go-version: '^1.21.1' - run: make build lint: runs-on: ubuntu-latest @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '^1.19.1' + go-version: '^1.21.1' - name: golangci-lint uses: golangci/golangci-lint-action@v3 tests: @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '^1.19.1' + go-version: '^1.21.1' - run: cat .env >> $GITHUB_ENV || true - run: make up - run: make wait diff --git a/_examples/basic/1-your-first-app/docker-compose.yml b/_examples/basic/1-your-first-app/docker-compose.yml index abdfe2868..25f2c1654 100644 --- a/_examples/basic/1-your-first-app/docker-compose.yml +++ b/_examples/basic/1-your-first-app/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - kafka diff --git a/_examples/basic/1-your-first-app/go.mod b/_examples/basic/1-your-first-app/go.mod index e09858c1a..62762bd5b 100644 --- a/_examples/basic/1-your-first-app/go.mod +++ b/_examples/basic/1-your-first-app/go.mod @@ -37,4 +37,4 @@ require ( golang.org/x/net v0.5.0 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/basic/2-realtime-feed/consumer/go.mod b/_examples/basic/2-realtime-feed/consumer/go.mod index c709a038e..019fa9123 100644 --- a/_examples/basic/2-realtime-feed/consumer/go.mod +++ b/_examples/basic/2-realtime-feed/consumer/go.mod @@ -37,4 +37,4 @@ require ( golang.org/x/net v0.5.0 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/basic/2-realtime-feed/docker-compose.yml b/_examples/basic/2-realtime-feed/docker-compose.yml index 4f1a63452..d37863c21 100644 --- a/_examples/basic/2-realtime-feed/docker-compose.yml +++ b/_examples/basic/2-realtime-feed/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: producer: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - kafka @@ -12,7 +12,7 @@ services: command: go run main.go consumer: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - kafka diff --git a/_examples/basic/2-realtime-feed/producer/go.mod b/_examples/basic/2-realtime-feed/producer/go.mod index abedf83f8..a5224ec5a 100644 --- a/_examples/basic/2-realtime-feed/producer/go.mod +++ b/_examples/basic/2-realtime-feed/producer/go.mod @@ -38,4 +38,4 @@ require ( golang.org/x/net v0.5.0 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/basic/3-router/go.mod b/_examples/basic/3-router/go.mod index 943a78744..cad6aef5b 100644 --- a/_examples/basic/3-router/go.mod +++ b/_examples/basic/3-router/go.mod @@ -12,4 +12,4 @@ require ( github.com/pkg/errors v0.9.1 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/basic/4-metrics/docker-compose.yml b/_examples/basic/4-metrics/docker-compose.yml index 5afb25c9d..be1050be5 100644 --- a/_examples/basic/4-metrics/docker-compose.yml +++ b/_examples/basic/4-metrics/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: golang: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped ports: - 8080:8080 diff --git a/_examples/basic/4-metrics/go.mod b/_examples/basic/4-metrics/go.mod index e4f3d3219..9c7bbe761 100644 --- a/_examples/basic/4-metrics/go.mod +++ b/_examples/basic/4-metrics/go.mod @@ -26,4 +26,4 @@ require ( // uncomment to use local sources // replace github.com/ThreeDotsLabs/watermill => ../../../../watermill -go 1.19 +go 1.21 diff --git a/_examples/basic/5-cqrs-protobuf/go.mod b/_examples/basic/5-cqrs-protobuf/go.mod index a86733eca..a7309aecc 100644 --- a/_examples/basic/5-cqrs-protobuf/go.mod +++ b/_examples/basic/5-cqrs-protobuf/go.mod @@ -19,4 +19,4 @@ require ( google.golang.org/protobuf v1.28.1 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/pubsubs/amqp/docker-compose.yml b/_examples/pubsubs/amqp/docker-compose.yml index 2d8873588..d4fd73875 100644 --- a/_examples/pubsubs/amqp/docker-compose.yml +++ b/_examples/pubsubs/amqp/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - rabbitmq diff --git a/_examples/pubsubs/amqp/go.mod b/_examples/pubsubs/amqp/go.mod index 05db4adc3..24bb8c06c 100644 --- a/_examples/pubsubs/amqp/go.mod +++ b/_examples/pubsubs/amqp/go.mod @@ -16,4 +16,4 @@ require ( github.com/rabbitmq/amqp091-go v1.6.1 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/pubsubs/go-channel/go.mod b/_examples/pubsubs/go-channel/go.mod index f17f0c42f..85cf9c543 100644 --- a/_examples/pubsubs/go-channel/go.mod +++ b/_examples/pubsubs/go-channel/go.mod @@ -9,4 +9,4 @@ require ( github.com/pkg/errors v0.9.1 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/pubsubs/googlecloud/docker-compose.yml b/_examples/pubsubs/googlecloud/docker-compose.yml index cae3e2739..4f3cfc5e7 100644 --- a/_examples/pubsubs/googlecloud/docker-compose.yml +++ b/_examples/pubsubs/googlecloud/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - googlecloud diff --git a/_examples/pubsubs/googlecloud/go.mod b/_examples/pubsubs/googlecloud/go.mod index 79f99a940..fb0d324e6 100644 --- a/_examples/pubsubs/googlecloud/go.mod +++ b/_examples/pubsubs/googlecloud/go.mod @@ -36,4 +36,4 @@ require ( google.golang.org/protobuf v1.28.1 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/pubsubs/googlecloud/go.sum b/_examples/pubsubs/googlecloud/go.sum index 33186dd3a..c57679285 100644 --- a/_examples/pubsubs/googlecloud/go.sum +++ b/_examples/pubsubs/googlecloud/go.sum @@ -137,7 +137,7 @@ google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98 google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20230202175211-008b39050e57 h1:vArvWooPH749rNHpBGgVl+U9B9dATjiEhJzcWGlovNs= google.golang.org/genproto v0.0.0-20230202175211-008b39050e57/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.21.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= diff --git a/_examples/pubsubs/kafka/docker-compose.yml b/_examples/pubsubs/kafka/docker-compose.yml index f129e1568..1a7b15596 100644 --- a/_examples/pubsubs/kafka/docker-compose.yml +++ b/_examples/pubsubs/kafka/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - kafka diff --git a/_examples/pubsubs/kafka/go.mod b/_examples/pubsubs/kafka/go.mod index e5999ca96..c131f1d09 100644 --- a/_examples/pubsubs/kafka/go.mod +++ b/_examples/pubsubs/kafka/go.mod @@ -36,4 +36,4 @@ require ( golang.org/x/net v0.5.0 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/pubsubs/nats-core/docker-compose.yml b/_examples/pubsubs/nats-core/docker-compose.yml index 223f466cd..5052b0b4a 100644 --- a/_examples/pubsubs/nats-core/docker-compose.yml +++ b/_examples/pubsubs/nats-core/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - nats diff --git a/_examples/pubsubs/nats-core/go.mod b/_examples/pubsubs/nats-core/go.mod index 75dd13c97..d4d23302f 100644 --- a/_examples/pubsubs/nats-core/go.mod +++ b/_examples/pubsubs/nats-core/go.mod @@ -1,6 +1,6 @@ module main -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.2.0 diff --git a/_examples/pubsubs/nats-jetstream/docker-compose.yml b/_examples/pubsubs/nats-jetstream/docker-compose.yml index 223f466cd..5052b0b4a 100644 --- a/_examples/pubsubs/nats-jetstream/docker-compose.yml +++ b/_examples/pubsubs/nats-jetstream/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - nats diff --git a/_examples/pubsubs/nats-jetstream/go.mod b/_examples/pubsubs/nats-jetstream/go.mod index 75dd13c97..d4d23302f 100644 --- a/_examples/pubsubs/nats-jetstream/go.mod +++ b/_examples/pubsubs/nats-jetstream/go.mod @@ -1,6 +1,6 @@ module main -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.2.0 diff --git a/_examples/pubsubs/nats-streaming/docker-compose.yml b/_examples/pubsubs/nats-streaming/docker-compose.yml index 05edba437..839bad423 100644 --- a/_examples/pubsubs/nats-streaming/docker-compose.yml +++ b/_examples/pubsubs/nats-streaming/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - nats-streaming diff --git a/_examples/pubsubs/nats-streaming/go.mod b/_examples/pubsubs/nats-streaming/go.mod index 78136f60c..8c8eacf84 100644 --- a/_examples/pubsubs/nats-streaming/go.mod +++ b/_examples/pubsubs/nats-streaming/go.mod @@ -27,4 +27,4 @@ require ( golang.org/x/time v0.3.0 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/pubsubs/redisstream/docker-compose.yml b/_examples/pubsubs/redisstream/docker-compose.yml index baf13cfc3..a981e3ea2 100644 --- a/_examples/pubsubs/redisstream/docker-compose.yml +++ b/_examples/pubsubs/redisstream/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - redis diff --git a/_examples/pubsubs/redisstream/go.mod b/_examples/pubsubs/redisstream/go.mod index e2be70bc7..82efe408c 100644 --- a/_examples/pubsubs/redisstream/go.mod +++ b/_examples/pubsubs/redisstream/go.mod @@ -1,6 +1,6 @@ module main.go -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.2.0-rc.11 diff --git a/_examples/pubsubs/sql/go.mod b/_examples/pubsubs/sql/go.mod index 5e236349a..7d6610767 100644 --- a/_examples/pubsubs/sql/go.mod +++ b/_examples/pubsubs/sql/go.mod @@ -1,6 +1,6 @@ module main.go -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.3.1 diff --git a/_examples/real-world-examples/consumer-groups/docker-compose.yml b/_examples/real-world-examples/consumer-groups/docker-compose.yml index ce0145d67..19bcbcbd9 100644 --- a/_examples/real-world-examples/consumer-groups/docker-compose.yml +++ b/_examples/real-world-examples/consumer-groups/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: api: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - redis @@ -13,7 +13,7 @@ services: command: go run . newsletter-1: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - redis @@ -25,7 +25,7 @@ services: REPLICA: 1 newsletter-2: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - redis @@ -37,7 +37,7 @@ services: REPLICA: 2 crm-1: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - redis @@ -49,7 +49,7 @@ services: REPLICA: 1 crm-2: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - redis diff --git a/_examples/real-world-examples/consumer-groups/go.mod b/_examples/real-world-examples/consumer-groups/go.mod index 30eb42eb8..9f775d904 100644 --- a/_examples/real-world-examples/consumer-groups/go.mod +++ b/_examples/real-world-examples/consumer-groups/go.mod @@ -1,6 +1,6 @@ module github.com/ThreeDotsLabs/watermill-routing-example/server -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.2.0 diff --git a/_examples/real-world-examples/exactly-once-delivery-counter/server/go.mod b/_examples/real-world-examples/exactly-once-delivery-counter/server/go.mod index b162bb639..14a397fe6 100644 --- a/_examples/real-world-examples/exactly-once-delivery-counter/server/go.mod +++ b/_examples/real-world-examples/exactly-once-delivery-counter/server/go.mod @@ -1,6 +1,6 @@ module exactly-once-delivery -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.3.1 diff --git a/_examples/real-world-examples/exactly-once-delivery-counter/worker/go.mod b/_examples/real-world-examples/exactly-once-delivery-counter/worker/go.mod index 782803217..1e67891a5 100644 --- a/_examples/real-world-examples/exactly-once-delivery-counter/worker/go.mod +++ b/_examples/real-world-examples/exactly-once-delivery-counter/worker/go.mod @@ -1,6 +1,6 @@ module exactly-once-delivery -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.3.1 diff --git a/_examples/real-world-examples/persistent-event-log/go.mod b/_examples/real-world-examples/persistent-event-log/go.mod index 26be4f5e3..eaea6ab9c 100644 --- a/_examples/real-world-examples/persistent-event-log/go.mod +++ b/_examples/real-world-examples/persistent-event-log/go.mod @@ -1,6 +1,6 @@ module main.go -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.3.1 diff --git a/_examples/real-world-examples/persistent-event-log/go.sum b/_examples/real-world-examples/persistent-event-log/go.sum index bcc3fbe93..2273c2952 100644 --- a/_examples/real-world-examples/persistent-event-log/go.sum +++ b/_examples/real-world-examples/persistent-event-log/go.sum @@ -152,7 +152,7 @@ google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98 google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20230202175211-008b39050e57 h1:vArvWooPH749rNHpBGgVl+U9B9dATjiEhJzcWGlovNs= google.golang.org/genproto v0.0.0-20230202175211-008b39050e57/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.21.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= diff --git a/_examples/real-world-examples/receiving-webhooks/docker-compose.yml b/_examples/real-world-examples/receiving-webhooks/docker-compose.yml index a2c519ba7..fe1df0339 100644 --- a/_examples/real-world-examples/receiving-webhooks/docker-compose.yml +++ b/_examples/real-world-examples/receiving-webhooks/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: golang: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped ports: - 8080:8080 diff --git a/_examples/real-world-examples/receiving-webhooks/go.mod b/_examples/real-world-examples/receiving-webhooks/go.mod index 0bce06afa..18bf73f7b 100644 --- a/_examples/real-world-examples/receiving-webhooks/go.mod +++ b/_examples/real-world-examples/receiving-webhooks/go.mod @@ -41,4 +41,4 @@ require ( golang.org/x/net v0.5.0 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/real-world-examples/sending-webhooks/docker-compose.yml b/_examples/real-world-examples/sending-webhooks/docker-compose.yml index 8dbe060e0..243d487f6 100644 --- a/_examples/real-world-examples/sending-webhooks/docker-compose.yml +++ b/_examples/real-world-examples/sending-webhooks/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: webhooks-server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped volumes: - .:/app @@ -10,7 +10,7 @@ services: command: go run main.go router: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - kafka @@ -21,7 +21,7 @@ services: command: go run main.go producer: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - kafka diff --git a/_examples/real-world-examples/sending-webhooks/producer/go.mod b/_examples/real-world-examples/sending-webhooks/producer/go.mod index 8f5a2417b..06fc1b970 100644 --- a/_examples/real-world-examples/sending-webhooks/producer/go.mod +++ b/_examples/real-world-examples/sending-webhooks/producer/go.mod @@ -36,4 +36,4 @@ require ( golang.org/x/net v0.5.0 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/real-world-examples/sending-webhooks/router/go.mod b/_examples/real-world-examples/sending-webhooks/router/go.mod index 9adfb8179..33f38bfc1 100644 --- a/_examples/real-world-examples/sending-webhooks/router/go.mod +++ b/_examples/real-world-examples/sending-webhooks/router/go.mod @@ -40,4 +40,4 @@ require ( golang.org/x/net v0.5.0 // indirect ) -go 1.19 +go 1.21 diff --git a/_examples/real-world-examples/server-sent-events/docker-compose.yml b/_examples/real-world-examples/server-sent-events/docker-compose.yml index a433a6ebc..896d4c15a 100644 --- a/_examples/real-world-examples/server-sent-events/docker-compose.yml +++ b/_examples/real-world-examples/server-sent-events/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped ports: - 8080:8080 diff --git a/_examples/real-world-examples/server-sent-events/server/go.mod b/_examples/real-world-examples/server-sent-events/server/go.mod index 22d8a04f1..bc6182df9 100644 --- a/_examples/real-world-examples/server-sent-events/server/go.mod +++ b/_examples/real-world-examples/server-sent-events/server/go.mod @@ -1,6 +1,6 @@ module main.go -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.2.0-rc.11 diff --git a/_examples/real-world-examples/synchronizing-databases/go.mod b/_examples/real-world-examples/synchronizing-databases/go.mod index 870c2c94b..3cb6ba8b4 100644 --- a/_examples/real-world-examples/synchronizing-databases/go.mod +++ b/_examples/real-world-examples/synchronizing-databases/go.mod @@ -1,6 +1,6 @@ module main.go -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.3.1 diff --git a/_examples/real-world-examples/transactional-events-forwarder/go.mod b/_examples/real-world-examples/transactional-events-forwarder/go.mod index 26be4f5e3..eaea6ab9c 100644 --- a/_examples/real-world-examples/transactional-events-forwarder/go.mod +++ b/_examples/real-world-examples/transactional-events-forwarder/go.mod @@ -1,6 +1,6 @@ module main.go -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.3.1 diff --git a/_examples/real-world-examples/transactional-events-forwarder/go.sum b/_examples/real-world-examples/transactional-events-forwarder/go.sum index bcc3fbe93..2273c2952 100644 --- a/_examples/real-world-examples/transactional-events-forwarder/go.sum +++ b/_examples/real-world-examples/transactional-events-forwarder/go.sum @@ -152,7 +152,7 @@ google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98 google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20230202175211-008b39050e57 h1:vArvWooPH749rNHpBGgVl+U9B9dATjiEhJzcWGlovNs= google.golang.org/genproto v0.0.0-20230202175211-008b39050e57/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.21.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= diff --git a/_examples/real-world-examples/transactional-events/go.mod b/_examples/real-world-examples/transactional-events/go.mod index b50e76a8c..5ee0207db 100644 --- a/_examples/real-world-examples/transactional-events/go.mod +++ b/_examples/real-world-examples/transactional-events/go.mod @@ -1,6 +1,6 @@ module main.go -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.3.1 diff --git a/dev/update-examples-deps/go.mod b/dev/update-examples-deps/go.mod index 559049369..5a7ecb6ca 100644 --- a/dev/update-examples-deps/go.mod +++ b/dev/update-examples-deps/go.mod @@ -1,3 +1,3 @@ module github.com/ThreeDotsLabs/watermill/dev/update-examples-deps -go 1.19 +go 1.21 diff --git a/dev/update-examples-deps/main.go b/dev/update-examples-deps/main.go index 842349c89..dcc7f4c30 100644 --- a/dev/update-examples-deps/main.go +++ b/dev/update-examples-deps/main.go @@ -70,7 +70,7 @@ func getGomods() []string { } func goModTidy(dir string, file string) error { - cmd2 := exec.Command("go", "mod", "tidy", "-go=1.19") + cmd2 := exec.Command("go", "mod", "tidy", "-go=1.21") cmd2.Dir = dir cmd2.Stderr = os.Stderr cmd2.Stdout = os.Stdout diff --git a/dev/validate-examples/go.mod b/dev/validate-examples/go.mod index 4f93296cb..47b6cab7b 100644 --- a/dev/validate-examples/go.mod +++ b/dev/validate-examples/go.mod @@ -1,6 +1,6 @@ module github.com/ThreeDotsLabs/watermill/dev/validate-examples -go 1.19 +go 1.21 require ( github.com/fatih/color v1.13.0 diff --git a/docs/content/docs/message/go.mod b/docs/content/docs/message/go.mod index 0e6a7abb8..c6ad7012c 100644 --- a/docs/content/docs/message/go.mod +++ b/docs/content/docs/message/go.mod @@ -9,4 +9,4 @@ require ( github.com/pkg/errors v0.9.1 // indirect ) -go 1.19 +go 1.21 diff --git a/docs/content/docs/snippets/amqp-consumer-groups/docker-compose.yml b/docs/content/docs/snippets/amqp-consumer-groups/docker-compose.yml index 2d8873588..d4fd73875 100644 --- a/docs/content/docs/snippets/amqp-consumer-groups/docker-compose.yml +++ b/docs/content/docs/snippets/amqp-consumer-groups/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: server: - image: golang:1.19 + image: golang:1.21 restart: unless-stopped depends_on: - rabbitmq diff --git a/docs/content/docs/snippets/amqp-consumer-groups/go.mod b/docs/content/docs/snippets/amqp-consumer-groups/go.mod index 05db4adc3..24bb8c06c 100644 --- a/docs/content/docs/snippets/amqp-consumer-groups/go.mod +++ b/docs/content/docs/snippets/amqp-consumer-groups/go.mod @@ -16,4 +16,4 @@ require ( github.com/rabbitmq/amqp091-go v1.6.1 // indirect ) -go 1.19 +go 1.21 diff --git a/docs/content/docs/snippets/tail-log-file/go.mod b/docs/content/docs/snippets/tail-log-file/go.mod index 3aec8baea..00645c264 100644 --- a/docs/content/docs/snippets/tail-log-file/go.mod +++ b/docs/content/docs/snippets/tail-log-file/go.mod @@ -1,6 +1,6 @@ module github.com/ThreeDotsLabs/watermill/docs/content/docs/snippets/tail-log-file -go 1.19 +go 1.21 require ( github.com/ThreeDotsLabs/watermill v1.2.0-rc.11 diff --git a/go.mod b/go.mod index 45d9f6fda..cbbac8f7c 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/go-chi/chi/v5 v5.0.8 github.com/gogo/protobuf v1.3.2 github.com/golang/protobuf v1.5.2 - github.com/google/uuid v1.3.0 + github.com/google/uuid v1.3.1 github.com/hashicorp/go-multierror v1.1.1 github.com/lithammer/shortuuid/v3 v3.0.7 github.com/oklog/ulid v1.3.1 diff --git a/go.sum b/go.sum index cf6170c6f..f0eaeba5a 100644 --- a/go.sum +++ b/go.sum @@ -21,8 +21,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= +github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -55,13 +55,12 @@ github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJf github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY= github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/sony/gobreaker v0.5.0 h1:dRCvqm0P490vZPmy7ppEk2qCnCieBooFJ+YoXGYB+yg= +github.com/sony/gobreaker v0.5.0/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= @@ -99,6 +98,5 @@ google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/tools/mill/go.mod b/tools/mill/go.mod index cf3b85d88..a9f7cb54e 100644 --- a/tools/mill/go.mod +++ b/tools/mill/go.mod @@ -1,6 +1,6 @@ module github.com/ThreeDotsLabs/watermill/tools/mill -go 1.19 +go 1.21 require ( cloud.google.com/go/pubsub v1.28.0