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"
Click to show internal directories.
Click to hide internal directories.