Skip to content

ambiguous import: consul #75

@tpltnt

Description

@tpltnt

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/consul@v1.4.2/api)
	github.com/hashicorp/consul/api v1.1.0 (/home/test/go/pkg/mod/github.com/hashicorp/consul/api@v1.1.0)

How can this ambiguity be resolved?

Cheers
tpltnt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions