spdx

package
v0.0.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2025 License: MIT Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL