dev stock stragety

This commit is contained in:
yanweidong
2026-01-26 17:38:06 +08:00
parent d2a3d60183
commit 7efdead5bf
20 changed files with 540 additions and 665 deletions

11
.air.toml Normal file
View File

@@ -0,0 +1,11 @@
# .air.toml
# 工作目录
root = "."
tmp_dir = "tmp"
# 需要监控的文件类型
[watch]
extensions = ["go", "tpl", "html", "js"]
# 编译输出的二进制文件路径
[build]
bin = "../builds/app.exe"
cmd = "go build -o ../builds/app.exe ./cmd/main/main.go"