Hello,
What's the correct way to do the following:
I'm using a third-party Go module which is no longer under development. I've forked the project in order to apply some patches of my own.
I want to use the new version of the module in my project. The following has been added to the go.mod file (not the real URLs)
Is this a good long-term solution or should I rename all imports so they point to the fork and do away with the replace directive?
Assuming I'm using the replace directive for now, when I do this now after cleaning the mod cache:
The output is this, which is surprising:
It seems to be pulling the latest release of v1 of the original project. Why is it doing this?
Regards
Stephen