go-oauth2-server
go-oauth2-server copied to clipboard
ambiguous import: consul
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