From 10f943bbb26125273f3db740424412598eb29ea2 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Thu, 29 Jun 2023 00:22:41 +0800 Subject: [PATCH] fix: cicd err tidy mod Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- Makefile | 4 ++-- server/go.mod | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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