Browse Source

fix: cicd err tidy mod

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
tags/v0.1.0
Xinwei Xiong(cubxxw-openim) 3 years ago
parent
commit
10f943bbb2
2 changed files with 2 additions and 3 deletions
  1. +2
    -2
      Makefile
  2. +0
    -1
      server/go.mod

+ 2
- 2
Makefile View File

@@ -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


+ 0
- 1
server/go.mod View File

@@ -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


Loading…
Cancel
Save