Audit Go dependency licenses with go-licenses
Produce a license inventory for Go module dependencies before release, procurement review, or open-source due diligence.
Prerequisites
Go, go-licenses
Installation
Use the upstream install or setup path that matches your environment:
- git clone git@github.com:google/go-licenses.git
- go install github.com/google/go-licenses/v2@latest
Basic usage or getting-started notes:
- Change directory to your go project, for example:
- Use the following command to download and install this tool:
- shell
- Source: https://github.com/google/go-licenses
- Extracted from upstream docs: https://raw.githubusercontent.com/google/go-licenses/HEAD/README.md
Documentation
- https://github.com/google/go-licenses