Go (Golang)
FOSSA supports Go codebases through Dep, Go modules, Govendor, Gopkg, and Glide.
Tool |
---|
Dep |
Go modules |
Govendor |
Gopkg |
Glide |
CLI (fossa-cli)
To get started, install the latest release of fossa-cli
from our GitHub releases page:
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
Once installed, run fossa analyze
inside of your repo's root directory to analyze your Golang project.
You can view our extended documentation for golang here.
Why are my Go dependencies sometimes reported as Git dependencies?
If the go dependency refers to a git repository, it may be displayed as a git project in FOSSA. If it is displayed as a git project in FOSSA, it may show the commit hash as the version and the git repository URL as the package name.
Updated 5 months ago