To work with a local dependent module, check out that module into this directory, and put the local replace into the main go.mod.
Example:
cd local
git clone [email protected]:edwarnicke/sdk.git
cd sdk
git remote add upstream [email protected]:networkservicemesh/sdk.git
cd ../..
And then edit the go.mod file utilize a replace:
module github.com/networkservicemesh/cmd-forwarder-vpp
go 1.13
require (
...
)
replace github.com/networkservicemesh/sdk => ./local/sdk