You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
For a yaml object like this I expect StringMap() returns a map[string]string object like this below. However it returns an empty string without fmt.print the integer to a string
However, String() does fmt.print the integer to a string.
Does it make sense to make StringMap() consistent with String() ?
I can cut a PR for this.
Describe the bug
A clear and concise description of what the bug is.
For a yaml object like this I expect
StringMap()
returns a map[string]string object like this below. However it returns an empty string withoutfmt.print
the integer to a stringHowever,
String()
doesfmt.print
the integer to a string.Does it make sense to make
StringMap()
consistent withString()
?I can cut a PR for this.
{ "cpu_core_limit": "1", mem_limit:"50%", "concurrency_limit": "2"}
https://github.com/knadh/koanf/blob/master/getters.go#L458-L461
To Reproduce
Steps / breaking unit test / example to reproduce the behavior
Expected behavior
A clear and concise description of what you expected to happen.
Please provide the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: