I'm trying to install Levant but I'm getting the error:
go install github.com/hashicorp/levant
build github.com/hashicorp/levant: cannot load github.com/hashicorp/consul/api: ambiguous import: found github.com/hashicorp/consul/api in multiple modules:
github.com/hashicorp/consul v0.0.0-20171026175957-610f3c86a089 (/root/go/pkg/mod/github.com/hashicorp/consul@v0.0.0-20171026175957-610f3c86a089/api)
github.com/hashicorp/consul/api v1.15.2 (/root/go/pkg/mod/github.com/hashicorp/consul/api@v1.15.2)
I tried installing one version module separately:
go get github.com/hashicorp/consul/api@v1.15.2
Also:
go mod download /root/go/pkg/mod/github.com/hashicorp/consul@v0.0.0-20171026175957-610f3c86a089/api
/root/go/pkg/mod/github.com/hashicorp/consul@v0.0.0-20171026175957-610f3c86a089/api: malformed module path "/root/go/pkg/mod/github.com/hashicorp/consul": empty path element
What do I need to install Levant without errors?
upd: I was able to install Levant by downloading the binaries, but I couldn't fix the error with go get/install: download binaries https://releases.hashicorp.com/levant/ and run unzip