diff --git a/Makefile b/Makefile index 9bb0a39..7e57373 100644 --- a/Makefile +++ b/Makefile @@ -202,7 +202,7 @@ SERVER_DIR := server ## tidy: tidy go.mod .PHONY: tidy tidy: - @cd $(SERVER_DIR) && $(GO) tidy + @cd $(SERVER_DIR) && $(GO) mod tidy ## style: Code style -> fmt,vet,lint .PHONY: style @@ -211,7 +211,7 @@ style: fmt vet lint ## fmt: Run go fmt against code. .PHONY: fmt fmt: - @cd $(SERVER_DIR) && $(GO) fmt ./... + @cd $(SERVER_DIR) && $(GO) fmt ./... ## vet: Run go vet against code. .PHONY: vet diff --git a/server/go.mod b/server/go.mod index 1b82c0f..a145186 100644 --- a/server/go.mod +++ b/server/go.mod @@ -40,7 +40,6 @@ require ( github.com/go-playground/universal-translator v0.18.1 // indirect github.com/go-playground/validator/v10 v10.14.0 // indirect github.com/go-sql-driver/mysql v1.7.0 // indirect - github.com/go-swagger/go-swagger v0.30.5 // indirect github.com/goccy/go-json v0.10.2 // indirect github.com/google/uuid v1.3.0 // indirect github.com/gookit/color v1.5.2 // indirect