dtrack-audit
dtrack-audit copied to clipboard
How do you run the program?
It's not obvious to me how to run the program locally:
$ git clone https://github.com/ozonru/dtrack-audit.git
Cloning into 'dtrack-audit'...
remote: Enumerating objects: 104, done.
remote: Counting objects: 100% (104/104), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 104 (delta 39), reused 79 (delta 24), pack-reused 0
Receiving objects: 100% (104/104), 29.85 KiB | 5.97 MiB/s, done.
Resolving deltas: 100% (39/39), done.
$ go run cmd/dtrack-audit/main.go
package command-line-arguments
cmd/dtrack-audit/main.go:6:2: use of internal package github.com/ozonru/dtrack-audit/internal/dtrack not allowed
Maybe I don't know something, but it's the thing I want to understand. Maybe you changed your local $GOPATH and have a special directory structure for this project?
@agentram Currently I run it in this way:
$ go version
go version go1.14.10 linux/amd64
$ pwd
/home/oxdef/src/go/src/github.com/ozonru/dtrack-audit
$ echo $GOPATH
/home/oxdef/src/go
$ go run cmd/dtrack-audit/main.go
Send SBOM file to Dependency Track for audit.
...
Also I have made an issue to update README to make local usage and development easy https://github.com/ozonru/dtrack-audit/issues/10