goq
goq copied to clipboard
Module declares its path as: astuart.co/goq
Command:
GO111MODULE=on go get github.com/andrewstuart/[email protected]
Outputs:
go: finding github.com v1.0.0
go: finding github.com/andrewstuart v1.0.0
go: finding github.com/andrewstuart/goq v1.0.0
go: downloading github.com/andrewstuart/goq v1.0.0
go: extracting github.com/andrewstuart/goq v1.0.0
go get: github.com/andrewstuart/[email protected]: parsing go.mod:
module declares its path as: astuart.co/goq
but was required as: github.com/andrewstuart/goq
I fixed it with:
replace (
github.com/andrewstuart/goq => astuart.co/goq v1.0.0
)
But maybe there is a way to fix it on side of repo?
Just do go get astuart.co/goq
instead? No need for replace.