Update Go module dependencies and version

- Upgrade Go version from 1.23.4 to 1.24.3
- Replace zerolog dependency with local xerrors and logging modules
- Add local module replacements for git.antanst.com/antanst/xerrors and logging
- Remove unused color and system dependencies
- Keep gabriel-vasile/mimetype and matoous/go-nanoid dependencies
This commit is contained in:
2025-05-26 13:28:01 +03:00
parent 4456308d48
commit c78d7898f9
2 changed files with 8 additions and 24 deletions

16
go.mod
View File

@@ -1,16 +1,16 @@
module gemserve
go 1.23.4
go 1.24.3
require (
git.antanst.com/antanst/logging v0.0.0
git.antanst.com/antanst/xerrors v0.0.0
github.com/gabriel-vasile/mimetype v1.4.8
github.com/matoous/go-nanoid/v2 v2.1.0
github.com/rs/zerolog v1.33.0
)
require (
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
golang.org/x/net v0.33.0 // indirect
golang.org/x/sys v0.29.0 // indirect
)
replace git.antanst.com/antanst/xerrors => ../xerrors
replace git.antanst.com/antanst/logging => ../logging
require golang.org/x/net v0.33.0 // indirect