Golang Spf13 Viper

Golang configuration library using spf13/viper — layered precedence (flag > env > file > KV > default), AutomaticEnv, ReadInConfig, Unmarshal + mapstructure, WatchConfig hot reload. Apply when using/adopting viper or the codebase imports github.com/spf13/viper. CLI commands: golang-spf13-cobra.

context-labs Updated

File contents

context-labs/whip/tree/main/.agents/skills/golang-spf13-viper commit d77e78d08f

Frequently asked questions

npx skillmds@latest add context-labs/golang-spf13-viper