I've read several articles about this issue. But all of the recommendations are for use in the go.mod file. I have a private repo in azure devops and I am using the command go get
to get the repo and install it. I have followed various tutorials about how to get it configured so I can download from my own private azure devops repo and I believe this is all setup correctly. I run the command go get <my/azure/devops/go/repo>
And I get the error
go: dev.azure.com/me/az-cloud/_git/go_poc_library.git@v0.0.1: parsing go.mod: module declares its path as: go_poc_library but was required as: dev.azure.com/me/az-cloud/_git/go_poc_library.git
The go.mod file of my service consuming the library is like this:
replace dev.azure.com/me/az-cloud/_git/go_poc_library v0.0.1 => /go_poc_library
How do I solve this issue?