ozontech / dtrack-audit

OWASP Dependency Track API client for intergration into CI/CD pipeline
GNU General Public License v3.0
51 stars 16 forks source link

go install error #16

Open bovy89 opened 2 years ago

bovy89 commented 2 years ago

How to reproduce:

docker run -it --rm node:lts-alpine /bin/sh
apk add --no-cache git go
export GOROOT=/usr/lib/go
export GOPATH=/go
export PATH=/go/bin:$PATH
go install github.com/ozontech/dtrack-audit/cmd/dtrack-audit@latest

Go version: 1.17.4-r0

Error:

go: downloading github.com/ozontech/dtrack-audit v1.0.0
go install: github.com/ozontech/dtrack-audit/cmd/dtrack-audit@latest: github.com/ozontech/dtrack-audit@v1.0.0: parsing go.mod:
    module declares its path as: github.com/ozonru/dtrack-audit
            but was required as: github.com/ozontech/dtrack-audit

Following command works:

go install github.com/ozonru/dtrack-audit/cmd/dtrack-audit@latest