config: переезд на YAML вместо JSON + main ветка

- config.json → config.yaml (формат YAML)
- github.com/spf13/viper не нужен — используем gopkg.in/yaml.v3
- Поддержка .yaml и .yml расширений
- Флаг -config по умолчанию смотрит config.yaml
- config.local.{yaml,yml} добавлены в .gitignore
- Ветка переименована master → main
This commit is contained in:
SashegDev
2026-06-06 22:48:27 +00:00
parent 096c4d0a2d
commit 04230fa7f0
7 changed files with 36 additions and 23 deletions
+2 -1
View File
@@ -28,4 +28,5 @@ client/.flutter-plugins-dependencies
Thumbs.db
# Config
server/config.local.json
server/config.local.yaml
server/config.local.yml