-
Open a terminal and clone the repository
git clone git@github.com:pstember/go-goof.git
and open the go-goof
directory.
-
Build the project
go install //This will move the executable to the bin folder where it will be found to be executed
-
Test the project
snyk test
All-in-one to clone and run:
git clone git@github.com:pstember/go-goof.git && \
cd go-goof && \
go install && \
snyk test
The following screenshot demonstrates the extra value provided when scanning a project using the Snyk CLI tool
This screenshot shows vulnerabilities and potential remediation when such remediation exist
export GOPATH="${HOME}/.go"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
test -d "${GOPATH}" || mkdir "${GOPATH}"
brew install go
Don't forget to update your .bashrc
or .zshrc