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

Is SliceValue() a purely internal interface? #394

Open
papadeltasierra opened this issue Feb 1, 2024 · 0 comments
Open

Is SliceValue() a purely internal interface? #394

papadeltasierra opened this issue Feb 1, 2024 · 0 comments

Comments

@papadeltasierra
Copy link

My use case is having parsed command line variables at start-of-day, I need to refer to them later. I can use pflags.Lookup() to get a Value but this seems to only be able to return a string representation of the parameter's value. My parameter happens to be a []string but I don't see how to read this unless I parse the string representation, which seems far from ideal.

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

1 participant