Add go workspace.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
||||
/.idea
|
||||
/run.sh
|
||||
/dist
|
||||
/go.work*
|
||||
|
||||
3
Makefile
3
Makefile
@@ -19,7 +19,8 @@ test:
|
||||
go test ./...
|
||||
|
||||
tidy:
|
||||
go mod tidy
|
||||
go work sync
|
||||
#go mod tidy
|
||||
|
||||
# Format code
|
||||
fmt:
|
||||
|
||||
8
go.mod
8
go.mod
@@ -3,14 +3,10 @@ module gemserve
|
||||
go 1.24.3
|
||||
|
||||
require (
|
||||
git.antanst.com/antanst/logging v0.0.0
|
||||
git.antanst.com/antanst/xerrors v0.0.0
|
||||
git.antanst.com/antanst/logging v0.0.1
|
||||
git.antanst.com/antanst/xerrors v0.0.1
|
||||
github.com/gabriel-vasile/mimetype v1.4.8
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user