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

Simpler way to replace spf13/pflag than described in the readme #25

Open
ghostsquad opened this issue May 13, 2022 · 0 comments
Open

Simpler way to replace spf13/pflag than described in the readme #25

ghostsquad opened this issue May 13, 2022 · 0 comments

Comments

@ghostsquad
Copy link

I found that I can add this to go.mod and that does not require me to vendor.

// https://github.com/cornfeedhobo/pflag
// A fork of pflag that is more maintained
replace github.com/spf13/pflag v1.0.5 => github.com/cornfeedhobo/pflag v1.1.0

exclude github.com/spf13/pflag v1.0.5
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