spdx

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 9 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 struct {
	ID   string `json:"licenseId,omitempty" yaml:"licenseId,omitempty"`
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

func GetLicenseInfos

func GetLicenseInfos(ctx context.Context) (_ []*LicenseInfo, retErr error)

GetLicenseInfos get the SPDX license information, sorted by lowercase of ID and bans "custom", "none"

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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