Re: [go-nuts] Modules 'replace' directive

2024-06-18 Thread Stephen Illingworth
On Tuesday 18 June 2024 at 19:33:28 UTC+1 Marcin Romaszewicz wrote: One of your dependencies could, in turn, have a dependency on that third party project. Run "go mod graph" to see what imports what and you should be able to track it down. I thought about that but there's no reference to anyt

Re: [go-nuts] Modules 'replace' directive

2024-06-18 Thread Marcin Romaszewicz
One of your dependencies could, in turn, have a dependency on that third party project. Run "go mod graph" to see what imports what and you should be able to track it down. As for the replace directive, I've always viewed it as a temporary quick fix. In your own code, you can simply replace the mo

[go-nuts] Modules 'replace' directive

2024-06-18 Thread Stephen Illingworth
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 fil