dualfroz 219bbcd219 fix: MapKeys returns empty slice for natively-typed maps
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.
2026-09-24 19:15:15 +02:00
S
Description
My contributions to knadh/koanf: 2 commits, 1 merged PRs
123 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 100%