petergtz / pegomock

Pegomock is a powerful, yet simple mocking framework for the Go programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change to Github Kingpin

jpopadak opened this issue · comments

Any chance the dependency on Kingpin can be changed to its GitHub equivalent? Doing anything with gopkg.in causes issues with Go modules & using a 3rd party Module Vendor.

https://github.com/alecthomas/kingpin/

For my local code, we have been using:
replace gopkg.in/alecthomas/kingpin.v2 => github.com/alecthomas/kingpin v2.2.6

Hey @jpopadak, yes, definitely. Sorry, I didn't realize there was an issue. Would mind submitting a PR with the change? I'll be happy to merge it.
Thanks,
Peter

I am 90% sure this is an issue with our GOPROXY we are using. Kingpin itself states to use gopkg.in/alecthomas/kingpin.v2 itself. 🤷🏼

So what should we do? Will you investigate your GOPROXY settings, or would you prefer to use github.com/alecthomas/kingpin? If the latter, would you mind submitting a PR? If the former, should we close this issue and re-open if necessary?

Lets close this for now. If it turns out to be an issue outside of our GOPROXY, I wil reopen.