Documentation
¶
Overview ¶
Package purl converts Go package details into a Go PackageURL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakePackageURL ¶
func MakePackageURL(name string, version string) *purl.PackageURL
MakePackageURL returns a package URL following the purl Golang spec:
- There is no default package repository: this is implied in the namespace using the go get command conventions.
- The namespace and name must be lowercased.
See: https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst#golang
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.