Skip to content

Commit cf830dd

Browse files
committed
Fix go-critic issues for ./docs/docs.go file (swaggo/swag package)
1 parent d78d262 commit cf830dd

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ security:
1717
lint:
1818
golangci-lint run ./...
1919

20-
test: critic security lint
20+
test: clean critic security lint
2121
go test -v -timeout 30s -coverprofile=cover.out -cover ./...
2222
go tool cover -func=cover.out
2323

24-
build: clean test
24+
build: test
2525
CGO_ENABLED=0 go build -ldflags="-w -s" -o $(BUILD_DIR)/$(APP_NAME) main.go
2626

2727
run: swag build

docs/docs.go

+5-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)