From de320db166dbf36532156854e97d6f6b7819ae92 Mon Sep 17 00:00:00 2001 From: antanst Date: Mon, 26 May 2025 16:42:58 +0300 Subject: [PATCH] Add go workspace. --- .gitignore | 1 + Makefile | 3 ++- go.mod | 8 ++------ 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 0377e3d..0f06f8e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /.idea /run.sh /dist +/go.work* diff --git a/Makefile b/Makefile index 7f22874..86975eb 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,8 @@ test: go test ./... tidy: - go mod tidy + go work sync + #go mod tidy # Format code fmt: diff --git a/go.mod b/go.mod index 862a21a..35b35bd 100644 --- a/go.mod +++ b/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