diff --git a/go.mod b/go.mod index 921fd3b..fb2e800 100644 --- a/go.mod +++ b/go.mod @@ -1,16 +1,18 @@ module github.com/suggestionsbot/lists -go 1.19 +go 1.21.0 require ( github.com/go-playground/validator/v10 v10.11.1 github.com/gofiber/fiber/v2 v2.40.1 github.com/gofiber/keyauth/v2 v2.1.30 + github.com/gofiber/swagger v0.1.8 github.com/jackc/pgconn v1.13.0 github.com/jackc/pgx/v4 v4.17.2 github.com/joeycumines/go-dotnotation v0.0.0-20180131115956-2d3612e36c5d github.com/joho/godotenv v1.4.0 github.com/pelletier/go-toml v1.9.5 + github.com/pelletier/go-toml/v2 v2.2.4 github.com/swaggo/swag v1.8.9 ) @@ -24,7 +26,6 @@ require ( github.com/go-playground/locales v0.14.0 // indirect github.com/go-playground/universal-translator v0.18.0 // indirect github.com/go-test/deep v1.0.8 // indirect - github.com/gofiber/swagger v0.1.8 // indirect github.com/jackc/chunkreader/v2 v2.0.1 // indirect github.com/jackc/pgio v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect diff --git a/go.sum b/go.sum index 905a55e..8137d4c 100644 --- a/go.sum +++ b/go.sum @@ -148,6 +148,7 @@ github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=