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
when I do run my defaults I have something like this:
iferr:=defaults.Set(myConfig); err!=nil {
panic(err)
}
fmt.Printf("Show me the value: %v", myConfig.Bar)
// The result it always show: Show me the value: true
I don't have any issue with any other default except the boolean type.
Note: I didn't try to run the code currently here, but it represents pretty much what it looks like in my code. I have my code in a not so public repo.
The text was updated successfully, but these errors were encountered:
I explain myself since the title might looks a bit rubbish. Basically I have a yaml file (not official one)
I have my configuration in go:
when I do run my defaults I have something like this:
I don't have any issue with any other default except the boolean type.
Note: I didn't try to run the code currently here, but it represents pretty much what it looks like in my code. I have my code in a not so public repo.
The text was updated successfully, but these errors were encountered: