9f860a7fd4f51a6deed5712699832aa1085e0c3e
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%