Refactor auth.go and media.go to remove deprecated dependencies (#1128)

* Refactor `auth.go` and `media.go` to remove deprecated dependencies

* Move the `text` dependency to direct ones in the `go.mod`

---------

Co-authored-by: Konstantin Koval
This commit is contained in:
Kostiantyn
2024-11-20 21:55:14 +02:00
committed by GitHub
parent 772129dbeb
commit 0d69d5584e
3 changed files with 13 additions and 13 deletions

View File

@@ -26,6 +26,7 @@ require (
github.com/xor-gate/goexif2 v1.1.0
golang.org/x/crypto v0.29.0
golang.org/x/image v0.22.0
golang.org/x/text v0.20.0
gopkg.in/vansante/go-ffprobe.v2 v2.2.0
gorm.io/driver/mysql v1.5.7
gorm.io/driver/postgres v1.5.9
@@ -59,7 +60,6 @@ require (
golang.org/x/mod v0.20.0 // indirect
golang.org/x/sync v0.9.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.20.0 // indirect
golang.org/x/tools v0.24.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)