dataspdx

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LicenseInfo

type LicenseInfo interface {
	// The SPDX identifier.
	//
	// Case-sensitive.
	ID() string
}

LicenseInfo is SPDX license information.

See https://spdx.org/licenses.

func GetLicenseInfo

func GetLicenseInfo(id string) (LicenseInfo, bool)

GetLicenseInfo gets the LicenseInfo for the id.

The parameter id is not case-sensitive.

Jump to

Keyboard shortcuts

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