Skip to content
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

support TextVar from go1.19's flag package #355

Open
podhmo opened this issue Aug 3, 2022 · 1 comment
Open

support TextVar from go1.19's flag package #355

podhmo opened this issue Aug 3, 2022 · 1 comment

Comments

@podhmo
Copy link

podhmo commented Aug 3, 2022

https://go.dev/doc/go1.19

The new function TextVar defines a flag with a value implementing encoding.TextUnmarshaler, allowing command-line flag variables to have types such as big.Int, netip.Addr, and time.Time.

@jkroepke
Copy link

Does someone found a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants