diff --git a/go.mod b/go.mod index 775643b..a462e6d 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,10 @@ require ( github.com/gin-gonic/gin v1.9.1 github.com/go-co-op/gocron v1.37.0 github.com/go-co-op/gocron-redis-lock v1.3.0 + github.com/go-co-op/gocron-redis-lock/v2 v2.0.0 + github.com/go-co-op/gocron/v2 v2.1.1 github.com/go-playground/validator/v10 v10.16.0 + github.com/go-resty/resty/v2 v2.10.0 github.com/google/uuid v1.5.0 github.com/redis/go-redis/v9 v9.3.1 github.com/stretchr/testify v1.8.4 @@ -36,7 +39,6 @@ require ( github.com/go-playground/locales v0.14.1 // indirect github.com/go-playground/universal-translator v0.18.1 // indirect github.com/go-redsync/redsync/v4 v4.10.0 // indirect - github.com/go-resty/resty/v2 v2.10.0 // indirect github.com/goccy/go-json v0.10.2 // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect diff --git a/go.sum b/go.sum index 732715f..3151387 100644 --- a/go.sum +++ b/go.sum @@ -69,6 +69,8 @@ github.com/go-co-op/gocron-redis-lock v1.2.0 h1:c5aGtxGxqWfln50Fdx9WpwYwtX7bK8i+ github.com/go-co-op/gocron-redis-lock v1.2.0/go.mod h1:En1WRsLSXsWiRul1GNyKiqniGe6UnrcEs9bOzDBya04= github.com/go-co-op/gocron-redis-lock v1.3.0 h1:PKwtuc/BhrDll/DxJfnXoW/+D1VXubd47xcGaB9pDuM= github.com/go-co-op/gocron-redis-lock v1.3.0/go.mod h1:9+H7ZfqVtJfx94uEAELwH+uHkn1UpM6lRM99wOBTGtg= +github.com/go-co-op/gocron-redis-lock/v2 v2.0.0/go.mod h1:0LXNORuX2O6f20PbnXS7yXXrk4IhI71cVNX1j5ADydo= +github.com/go-co-op/gocron/v2 v2.1.1/go.mod h1:0MfNAXEchzeSH1vtkZrTAcSMWqyL435kL6CA4b0bjrg= github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s=