Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpdxLicenses ¶
type SpdxLicenses struct {
// contains filtered or unexported fields
}
SpdxLicenses struct.
func NewSpdxLicenses ¶
func NewSpdxLicenses() (*SpdxLicenses, error)
NewSpdxLicenses creates a new SpdxLicenses instance.
func (*SpdxLicenses) Validate ¶
func (s *SpdxLicenses) Validate(license interface{}) (bool, error)
Validate checks if the provided license string or slice is a valid SPDX expression.
Click to show internal directories.
Click to hide internal directories.