We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample case:
package main import ( "fmt" "github.com/segmentio/conf" ) func main() { var config struct { StringValue string `conf:"string-value"` } conf.LoadWith(&config, conf.Loader{ Args: []string{"-string-value", "0123456789"}, }) fmt.Println(config.StringValue) }
Outputs:
1.23456789e+08
The text was updated successfully, but these errors were encountered:
Fixed by 312d8ed?w=1 probably
Sorry, something went wrong.
No branches or pull requests
Sample case:
Outputs:
The text was updated successfully, but these errors were encountered: