spdxlicenses

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: MIT Imports: 0 Imported by: 1

Documentation

Overview

Spdxlicenses package provides functions to get licenses, deprecated licenses, and exceptions. These are auto-generated and should not be modified directly. Licenses are generated from the SPDX official machine readable license list.

In addition, this package includes a function to return license ranges for sequential licenses and ranges including modifiers (i.e. -only, -or-later).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeprecated

func GetDeprecated() []string

GetDeprecated returns a slice of deprecated license IDs.

func GetExceptions

func GetExceptions() []string

GetExceptions returns a slice of exception license IDs.

func GetLicenses

func GetLicenses() []string

GetLicenses returns a slice of active license IDs.

func LicenseRanges

func LicenseRanges() [][][]string

licenseRanges returns a list of license ranges.

Ranges are organized into groups (referred to as license groups) of the same base license (e.g. GPL). Groups have sub-groups of license versions (referred to as the range) where each member is considered to be the same version (e.g. {GPL-2.0, GPL-2.0-only}). The sub-groups are in ascending order within the license group, such that the first sub-group is considered to be less than the second sub-group, and so on. (e.g. {{GPL-1.0}, {GPL-2.0, GPL-2.0-only}} implies {GPL-1.0} < {GPL-2.0, GPL-2.0-only}).

Types

This section is empty.

Jump to

Keyboard shortcuts

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

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy