新增分享码功能

This commit is contained in:
eafonyang
2026-06-12 15:50:01 +08:00
parent 46fd35b0df
commit 8010cbd32f
24 changed files with 2610 additions and 66 deletions
+5 -2
View File
@@ -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