feat(core): 初始化基础框架并完善接入文档
Verify / verify (push) Canceled after 0s

抽取 Gin、配置、日志、数据库、Redis 与出站 HTTP 基础能力。
新增统一接入指南,将能力清单和相对链接检查纳入 make verify。
对齐远端 module 路径,修正 Redis 读写超时特殊值映射。

验证:make verify、make race-check 均通过。
This commit is contained in:
zhangdeman committed 2026-11-26 19:50:52 -08:00
commit b4c3ac622c
55 files changed
+5862

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
GO ?= go
STATICCHECK_VERSION := v0.8.1
.PHONY: verify docs-check fmt-check architecture-check vet build-check test race-check staticcheck
verify:
$(MAKE) docs-check
$(MAKE) fmt-check
$(MAKE) architecture-check
$(MAKE) vet
$(MAKE) build-check
$(MAKE) test
$(MAKE) staticcheck
docs-check:
$(GO) run ./script/verify -docs
fmt-check:
$(GO) run ./script/verify -format
architecture-check:
$(GO) run ./script/verify -architecture
vet:
$(GO) vet ./...
build-check:
$(GO) build ./...
test:
$(GO) test ./...
race-check:
$(GO) test -race ./...
staticcheck:
$(GO) run honnef.co/go/tools/cmd/staticcheck@$(STATICCHECK_VERSION) ./...
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.