Source From Here
Question
So I have a private repo that my main.go imports. I'm getting this error when I do a go build:
Do I need to do anything special for a private repo? I have been googling and can't find any good information. It works fine with dep.
How-To
Do this
Make sure your git clone via ssh works.
Supplement
* Medium - Fetching Private Dependencies with Go Modules
Question
So I have a private repo that my main.go imports. I'm getting this error when I do a go build:
Do I need to do anything special for a private repo? I have been googling and can't find any good information. It works fine with dep.
How-To
Do this
Make sure your git clone via ssh works.
Supplement
* Medium - Fetching Private Dependencies with Go Modules
沒有留言:
張貼留言