Skip to content

Is SliceValue() a purely internal interface? #394

Open
@papadeltasierra

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions