today-i-learnt

Use module fork

Category golang
Added on 2019-12-13
Source source

This is how to use a fork of a module in a proget:

$ go mod edit -replace="github.com/someone/repo@v0.0.0=github.com/you/repo@v1.1.1"