实现安全开关默认关闭与响应头透传逻辑 - URL 校验与响应头过滤支持开关并覆盖流式路径 - 非流式 Content-Type 透传/默认值按配置生效 - 接入 go test、golangci-lint 与前端 lint/typecheck - 补充相关测试与配置/文档说明
18 lines
273 B
Makefile
18 lines
273 B
Makefile
.PHONY: build test test-unit test-integration test-e2e
|
|
|
|
build:
|
|
go build -o bin/server ./cmd/server
|
|
|
|
test:
|
|
go test ./...
|
|
golangci-lint run ./...
|
|
|
|
test-unit:
|
|
go test -tags=unit ./...
|
|
|
|
test-integration:
|
|
go test -tags=integration ./...
|
|
|
|
test-e2e:
|
|
go test -tags=e2e ./...
|