go-oauth2-server icon indicating copy to clipboard operation
go-oauth2-server copied to clipboard

ambiguous import: consul

Open tpltnt opened this issue 4 years ago • 0 comments

Hi there,

I tried to build the server on a clean machine and it resulted in

foo% go install . 
build github.com/RichardKnop/go-oauth2-server: cannot load github.com/hashicorp/consul/api: ambiguous import: found github.com/hashicorp/consul/api in multiple modules:
	github.com/hashicorp/consul v1.4.2 (/home/test/go/pkg/mod/github.com/hashicorp/[email protected]/api)
	github.com/hashicorp/consul/api v1.1.0 (/home/test/go/pkg/mod/github.com/hashicorp/consul/[email protected])

How can this ambiguity be resolved?

Cheers tpltnt

tpltnt avatar May 11 '21 11:05 tpltnt