diff --git a/Makefile b/Makefile index 9c803d3..234876a 100644 --- a/Makefile +++ b/Makefile @@ -23,3 +23,10 @@ fmt: go fmt ./... goimports -l -w . +update_watermill: + go get -u github.com/ThreeDotsLabs/watermill + go mod tidy + + sed -i '\|go 1\.|d' go.mod + go mod edit -fmt + diff --git a/go.mod b/go.mod index aebf87a..338d1df 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/ThreeDotsLabs/watermill-amqp require ( - github.com/ThreeDotsLabs/watermill v1.0.0-rc.2 + github.com/ThreeDotsLabs/watermill v1.0.0 github.com/cenkalti/backoff/v3 v3.0.0 github.com/hashicorp/go-multierror v1.0.0 github.com/pkg/errors v0.8.1 diff --git a/go.sum b/go.sum index 827fc5e..738ed19 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/ThreeDotsLabs/watermill v1.0.0-rc.2 h1:DCKR8kSLHUyZny6LiKtO7h+IZPMo0t9x786FOZmoAh4= -github.com/ThreeDotsLabs/watermill v1.0.0-rc.2/go.mod h1:gjVFKc8aN+vmEHw3pA0kh4mmuwHe02nyfghb6IWWiKE= +github.com/ThreeDotsLabs/watermill v1.0.0 h1:jkKDp5aFz/m4eHr8kntbVxjOnseew6fv/nwE7VmFHmc= +github.com/ThreeDotsLabs/watermill v1.0.0/go.mod h1:gjVFKc8aN+vmEHw3pA0kh4mmuwHe02nyfghb6IWWiKE= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=