新增分享码功能
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
.PHONY: run build test tidy
|
||||
.PHONY: run build test tidy swag
|
||||
|
||||
run:
|
||||
go run ./cmd/server
|
||||
|
||||
build:
|
||||
build: swag
|
||||
go build -o bin/server ./cmd/server
|
||||
|
||||
test:
|
||||
@@ -11,3 +11,6 @@ test:
|
||||
|
||||
tidy:
|
||||
go mod tidy
|
||||
|
||||
swag:
|
||||
swag init -g cmd/server/main.go -o docs --parseDependency --parseGoList
|
||||
|
||||
Reference in New Issue
Block a user