From 636688b43e966bea4563f01ea07bc975d15aa244 Mon Sep 17 00:00:00 2001 From: TwiN Date: Sat, 22 Apr 2023 12:55:30 -0400 Subject: [PATCH] chore(deps): Upgrade github.com/TwiN/g8 to v2.0.0 --- go.mod | 2 +- go.sum | 4 ++-- security/config.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index d70c62c8..99149e39 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/TwiN/deepmerge v0.2.0 - github.com/TwiN/g8 v1.4.0 + github.com/TwiN/g8/v2 v2.0.0 github.com/TwiN/gocache/v2 v2.2.0 github.com/TwiN/health v1.6.0 github.com/TwiN/whois v1.1.0 diff --git a/go.sum b/go.sum index a4859da5..245f60bd 100644 --- a/go.sum +++ b/go.sum @@ -36,8 +36,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/TwiN/deepmerge v0.2.0 h1:8P1tp2qDXllX6V1Ailg2XA074easAcvLMmW9v1jn0aE= github.com/TwiN/deepmerge v0.2.0/go.mod h1:cR9OWsvI13y+FxrbnPLuF6BX2tbYeOjkiI6JWjEGqAE= -github.com/TwiN/g8 v1.4.0 h1:RUk5xTtxKCdMo0GGSbBVyjtAAfi2nqVbA9E0C4u5Cxo= -github.com/TwiN/g8 v1.4.0/go.mod h1:ECyGJsoIb99klUfvVQoS1StgRLte9yvvPigGrHdy284= +github.com/TwiN/g8/v2 v2.0.0 h1:+hwIbRLMhDd2iwHzkZUPp2FkX7yTx8ddYOnS91HkDqQ= +github.com/TwiN/g8/v2 v2.0.0/go.mod h1:4sVAF27q8T8ISggRa/Fb0drw7wpB22B6eWd+/+SGMqE= github.com/TwiN/gocache/v2 v2.2.0 h1:M3B36KyH24BntxLrLaUb2kgTdq8DzCnfod0IekLG57w= github.com/TwiN/gocache/v2 v2.2.0/go.mod h1:SnUuBsrwGQeNcDG6vhkOMJnqErZM0JGjgIkuKryokYA= github.com/TwiN/health v1.6.0 h1:L2ks575JhRgQqWWOfKjw9B0ec172hx7GdToqkYUycQM= diff --git a/security/config.go b/security/config.go index 0cb0c138..6215bd28 100644 --- a/security/config.go +++ b/security/config.go @@ -4,7 +4,7 @@ import ( "encoding/base64" "net/http" - "github.com/TwiN/g8" + g8 "github.com/TwiN/g8/v2" "github.com/gorilla/mux" "golang.org/x/crypto/bcrypt" )