补充测试用例

This commit is contained in:
2025-09-13 19:48:13 +08:00
parent ec2595a751
commit bd22e452d3
9 changed files with 353 additions and 117 deletions

View File

@@ -9,6 +9,7 @@ help:
@echo " run Run the application"
@echo " build Build the application"
@echo " clean Clean generated files"
@echo " test Run all tests"
@echo " help Show this help message"
# 运行应用
@@ -24,4 +25,9 @@ build:
# 清理生成文件
.PHONY: clean
clean:
rm -f bin/pig-farm-controller
rm -f bin/pig-farm-controller
# 运行所有测试
.PHONY: test
test:
go test --count=1 ./...