-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
TOML/YAML Parsing int64, uint64, uint, time.Duration #599
Labels
kind/bug
describes or fixes a bug
Comments
Hiya! There's a known issue with the current implementation of the CLI, where altsrc is generally clunky and poorly documented. My current idea is that I'm going to move all of the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Love the library, thank you all for working on it.
Ran into an issue when using toml/yaml imports,
int64
,uint64
,uint
andtime.Duration
are not parsed.For example:
test.toml
test.yaml
main.go:
Running this with YAML or TOML results in the same outputs.
Results from running with
test-duration
comented out:go run main.go -c test.toml
go run main.go -c test.yaml
Running with
test-duration
:The text was updated successfully, but these errors were encountered: