tools-golang is a collection of Go packages intended to make it easier for Go programs to work with SPDX® files.
This software is in an early state, and its API may change significantly.
2021-03-20: v0.1.0: initial pre-v1 release tagged, prior to making more extensive API changes in some pending PRs.
tools-golang currently works with files conformant to versions 2.1 and 2.2 of the SPDX specification, available at: https://spdx.org/specifications
tools-golang provides the following packages:
Examples for how to use these packages can be found in the examples/
directory.
RDF support was added by @RishabhBhatnagar as part of his Google Summer of Code 2020 project, and is in the process of being merged into the main tools-golang code.
tools-golang doesn't currently do any of the following:
We are working towards adding functionality for all of these. Code contributions are welcome!
tools-golang uses https://github.com/spdx/gordf to manage RDF input and output.
Other than that, tools-golang does not require anything outside the Go standard library.
As indicated in LICENSE-code.txt
, tools-golang source code files are provided and may be used, at your option, under either:
As indicated in LICENSE-docs.txt
, tools-golang documentation files are provided and may be used under the Creative Commons Attribution 4.0 International license (CC-BY-4.0).
This README.md
file is documentation:
SPDX-License-Identifier: CC-BY-4.0