From e656363dd91b2c9fc717b1180c2ada4957fbf182 Mon Sep 17 00:00:00 2001 From: julien Date: Wed, 18 Jun 2025 16:01:09 +0200 Subject: [PATCH] cc --- go.mod | 25 ++++++++----------------- main.go | 1 - 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/go.mod b/go.mod index baf702a..1a134b1 100644 --- a/go.mod +++ b/go.mod @@ -2,43 +2,34 @@ module app/shelfly go 1.24.2 -toolchain go1.24.4 - require ( github.com/golang-jwt/jwt/v5 v5.2.1 github.com/gorilla/mux v1.8.1 - gorm.io/gorm v1.30.0 + gorm.io/gorm v1.25.12 gorm.io/plugin/dbresolver v1.5.3 ) require ( filippo.io/edwards25519 v1.1.0 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect github.com/go-sql-driver/mysql v1.8.1 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/huin/goupnp v1.3.0 // indirect - github.com/jackpal/gateway v1.1.1 // indirect - github.com/jackpal/go-nat-pmp v1.0.2 // indirect github.com/mattn/go-sqlite3 v1.14.22 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/stretchr/objx v0.5.2 // indirect - github.com/stretchr/testify v1.10.0 // indirect - golang.org/x/mod v0.25.0 // indirect - golang.org/x/net v0.40.0 // indirect - golang.org/x/sync v0.15.0 // indirect - golang.org/x/tools v0.33.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect + golang.org/x/mod v0.22.0 // indirect + golang.org/x/sync v0.10.0 // indirect + golang.org/x/tools v0.28.0 // indirect gorm.io/datatypes v1.2.5 // indirect gorm.io/hints v1.1.2 // indirect ) require ( github.com/golang-jwt/jwt v3.2.2+incompatible + github.com/huin/goupnp v1.3.0 + github.com/jackpal/go-nat-pmp v1.0.2 github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect github.com/joho/godotenv v1.5.1 - golang.org/x/crypto v0.39.0 - golang.org/x/text v0.26.0 // indirect + golang.org/x/crypto v0.31.0 + golang.org/x/text v0.21.0 // indirect gorm.io/driver/mysql v1.5.7 // indirect gorm.io/driver/sqlite v1.5.7 gorm.io/gen v0.3.26 diff --git a/main.go b/main.go index 489541e..aaaf06e 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,6 @@ import ( "github.com/huin/goupnp/dcps/internetgateway1" "github.com/jackpal/gateway" "github.com/jackpal/go-nat-pmp" - "github.com/gorilla/mux" )