Add go workspace.

This commit is contained in:
2025-05-26 16:42:58 +03:00
parent 7ea36d23dd
commit de320db166
3 changed files with 5 additions and 7 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
/.idea /.idea
/run.sh /run.sh
/dist /dist
/go.work*

View File

@@ -19,7 +19,8 @@ test:
go test ./... go test ./...
tidy: tidy:
go mod tidy go work sync
#go mod tidy
# Format code # Format code
fmt: fmt:

8
go.mod
View File

@@ -3,14 +3,10 @@ module gemserve
go 1.24.3 go 1.24.3
require ( require (
git.antanst.com/antanst/logging v0.0.0 git.antanst.com/antanst/logging v0.0.1
git.antanst.com/antanst/xerrors v0.0.0 git.antanst.com/antanst/xerrors v0.0.1
github.com/gabriel-vasile/mimetype v1.4.8 github.com/gabriel-vasile/mimetype v1.4.8
github.com/matoous/go-nanoid/v2 v2.1.0 github.com/matoous/go-nanoid/v2 v2.1.0
) )
replace git.antanst.com/antanst/xerrors => ../xerrors
replace git.antanst.com/antanst/logging => ../logging
require golang.org/x/net v0.33.0 // indirect require golang.org/x/net v0.33.0 // indirect