goq icon indicating copy to clipboard operation
goq copied to clipboard

Module declares its path as: astuart.co/goq

Open zored opened this issue 5 years ago • 1 comments

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?

zored avatar Dec 09 '19 16:12 zored

Just do go get astuart.co/goq instead? No need for replace.

mitar avatar Jan 05 '22 01:01 mitar