From ac84e48d8f1d7f081196e60d1ed684f62047c556 Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Fri, 12 Apr 2024 11:46:21 +0300 Subject: [PATCH] Use proper module versions --- go.mod | 4 ++-- go.sum | 16 ++++------------ main.go | 2 +- webhook.go | 2 +- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/go.mod b/go.mod index 954ef12..18e074f 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module stuzer.link/monobank-firefly3-bot go 1.22.2 require ( - gitea.stuzer.link/stuzer05/go-firefly3 v0.0.0-20240410133657-a9fdc50a8c8a - gitea.stuzer.link/stuzer05/go-monobank v0.0.0-20240410200931-4738cbd4284e + gitea.stuzer.link/stuzer05/go-firefly3/v2 v2.0.12 + gitea.stuzer.link/stuzer05/go-monobank v0.2303.0 github.com/antihax/optional v1.0.0 github.com/joho/godotenv v1.5.1 ) diff --git a/go.sum b/go.sum index b9b5925..4c03269 100644 --- a/go.sum +++ b/go.sum @@ -1,15 +1,7 @@ -gitea.stuzer.link/stuzer05/go-firefly3 v0.0.0-20240410091657-a7ef9d02ecd9 h1:YudeO7GocpdRDagqvVjbYEPXK3X2JSwYp2ZCnKyo5jQ= -gitea.stuzer.link/stuzer05/go-firefly3 v0.0.0-20240410091657-a7ef9d02ecd9/go.mod h1:t1fQbrfn3dmJPLVsoX3Pof9/3xcSBIYpYl/Iz6qBH5E= -gitea.stuzer.link/stuzer05/go-firefly3 v0.0.0-20240410133657-a9fdc50a8c8a h1:rDeNcXmO6SbECmcGSS3uduDPdN+7wZ9LBTRLtGVFsbg= -gitea.stuzer.link/stuzer05/go-firefly3 v0.0.0-20240410133657-a9fdc50a8c8a/go.mod h1:t1fQbrfn3dmJPLVsoX3Pof9/3xcSBIYpYl/Iz6qBH5E= -gitea.stuzer.link/stuzer05/go-monobank v0.0.0-20240410192145-a523824e66d7 h1:he6tteQWO0mZIcmHCcofi8a60GTXeYoHjFIlZOz51rs= -gitea.stuzer.link/stuzer05/go-monobank v0.0.0-20240410192145-a523824e66d7/go.mod h1:y/jOBU1U+NNR5umvDH+scrOWk0byZGZrMb4PHEehyrk= -gitea.stuzer.link/stuzer05/go-monobank v0.0.0-20240410195707-3bb97cbca3ef h1:TZzRZ8aEAfcllzAGq3DCKECrT5KBgsqXWncCbg7xAus= -gitea.stuzer.link/stuzer05/go-monobank v0.0.0-20240410195707-3bb97cbca3ef/go.mod h1:y/jOBU1U+NNR5umvDH+scrOWk0byZGZrMb4PHEehyrk= -gitea.stuzer.link/stuzer05/go-monobank v0.0.0-20240410200638-a2776842062d h1:gNF3QyQ9kj0Sbp2NJ4Div7n1+wv7AFc1sZHjVqItqDY= -gitea.stuzer.link/stuzer05/go-monobank v0.0.0-20240410200638-a2776842062d/go.mod h1:y/jOBU1U+NNR5umvDH+scrOWk0byZGZrMb4PHEehyrk= -gitea.stuzer.link/stuzer05/go-monobank v0.0.0-20240410200931-4738cbd4284e h1:o9vg8T03c3zJNFDs4L6zbYtjcCjv/kuE6SHhGNOqyyE= -gitea.stuzer.link/stuzer05/go-monobank v0.0.0-20240410200931-4738cbd4284e/go.mod h1:y/jOBU1U+NNR5umvDH+scrOWk0byZGZrMb4PHEehyrk= +gitea.stuzer.link/stuzer05/go-firefly3/v2 v2.0.12 h1:+fcEF16UGoaCqT93CYA9qfsvIX5juyHUR6DclgziQ4M= +gitea.stuzer.link/stuzer05/go-firefly3/v2 v2.0.12/go.mod h1:EIOnFYA5dDe5tMrc9CptRVaoGahrYm1CT2XE86Mh9KU= +gitea.stuzer.link/stuzer05/go-monobank v0.2303.0 h1:BDv3h9bk5Fs3iI51W+pXmjPBAQn9T+YZu+B/lmbeBqc= +gitea.stuzer.link/stuzer05/go-monobank v0.2303.0/go.mod h1:y/jOBU1U+NNR5umvDH+scrOWk0byZGZrMb4PHEehyrk= github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= diff --git a/main.go b/main.go index e11b4d3..213bffb 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "context" "flag" "fmt" - "gitea.stuzer.link/stuzer05/go-firefly3" + "gitea.stuzer.link/stuzer05/go-firefly3/v2" "gitea.stuzer.link/stuzer05/go-monobank" "github.com/antihax/optional" "github.com/joho/godotenv" diff --git a/webhook.go b/webhook.go index c1c6d88..17f73e5 100644 --- a/webhook.go +++ b/webhook.go @@ -5,7 +5,7 @@ import ( "context" "encoding/json" "fmt" - "gitea.stuzer.link/stuzer05/go-firefly3" + "gitea.stuzer.link/stuzer05/go-firefly3/v2" "gitea.stuzer.link/stuzer05/go-monobank" "github.com/antihax/optional" "math"