- Module github.com/eslider/go-config with env/yaml/json/ini packages - internal: source, keymap, merge, structconv, bytesutil - cmd/envc: convert, get, merge - docs/asr ASR-0001..0008, README/CHANGELOG/AGENTS refresh - golangci-lint v2 config; tests + fixtures Co-authored-by: Cursor <cursoragent@cursor.com>
758 B
758 B
ASR-0006: Third-party library choices
Context
We need battle-tested parsers and struct bridging without maintaining our own grammars.
Decision
- Struct / map bridging:
github.com/go-viper/mapstructure/v2(maintained fork ofmitchellh/mapstructure). - YAML:
gopkg.in/yaml.v3. - JSON:
encoding/json(stdlib). - INI:
gopkg.in/ini.v1withLooseparsing for tolerant files. .envfiles:github.com/joho/godotenv(UnmarshalBytes).- CLI: stdlib
flagonly (no Cobra).
Consequences
go.modcarries the above direct dependencies (plus transitive modules as resolved by MVS).
Status
Accepted — 2026-05-02.