Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLicense ¶
ValidateLicense implements license validation for SPDX 2.1 License Expressions as described in Appendix IV of https://spdx.org/spdx-specification-21-web-version
An error is returned if the license string is not conforming this spec.
Note that the "license-ref" part of the spec is not supported
Types ¶
Click to show internal directories.
Click to hide internal directories.