Documentation
¶
Index ¶
Constants ¶
View Source
const ( DOCUMENT = "DOCUMENT" NOASSERTION = "NOASSERTION" NONE = "NONE" Organization = "Organization" Person = "Person" Tool = "Tool" // Identifier categories CategorySecurity = "SECURITY" CategoryPackageManager = "PACKAGE-MANAGER" CategoryPersistentID = "PERSISTENT-ID" CategoryOther = "OTHER" ExtRefTypePurl = "purl" ExtRefTypeCPE22 = "cpe22Type" ExtRefTypeCPE23 = "cpe23Type" ExtRefTypeGitoid = "gitoid" )
Variables ¶
This section is empty.
Functions ¶
func ParseActorString ¶
ParseActorString parses an SPDX "actor string", it is a specially formatted string that contains the type of actor (Person/Organization), their name and optionally an email address. For example, the following string:
"Person: Debian OpenLDAP Maintainers (pkg-openldap-devel@lists.alioth.debian.org)"
would return: "Organization", "Debian OpenLDAP Maintainers", "pkg-openldap-devel@lists.alioth.debian.org"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.