219bbcd219fa61d8ec48936c6d11b0f6c27be4e1
Get() preserves the concrete type of a map[string]T value loaded via Set() or a provider like structs, but MapKeys() only type-asserted map[string]any, so it silently reported no keys for anything else. Read keys via reflection instead so any map with string keys works.
Description
My contributions to knadh/koanf: 2 commits, 1 merged PRs
123 KiB
0 Stars
1 Watchers
0 Forks
Languages
Go
100%