/go-spdx

The package parses SPDX license expression strings describing license terms.

Primary LanguageGoMIT LicenseMIT

go-spdx

The package parses SPDX license expression strings describing license terms

PkgGoDev Go Report Card Coverage Status Release

Install

go get github.com/kyoh86/go-spdx

Usage

See example or test

Updating licenses

In order to update the licenses_asset.go file with the newest license list from SPDX, execute the following commands:

cd spdx
npm install spdx-license-list@latest
make licenses-asset

(You should also add a test to spdx/parser_test.go to make sure everything worked as expected.)

LICENSE

MIT License

This is distributed under the MIT License.