refactor(config): 统一共享配置模板来源

This commit is contained in:
2026-09-19 08:00:55 +08:00
parent 56ad014199
commit e6622b32c7
7 changed files with 141 additions and 186 deletions
+10
View File
@@ -0,0 +1,10 @@
// Package configtemplate provides the shared runtime configuration template.
package configtemplate
import _ "embed"
// Template is the canonical config.toml.example content consumed by both
// Rust bat and Go bat-api.
//
//go:embed config.toml.example
var Template string