purl

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package purl converts a package to a Maven type PackageURL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakePackageURL

func MakePackageURL(version string, metadata any) *purl.PackageURL

MakePackageURL returns a package URL from a version string and a Maven specific metadata struct according to the Maven PURL spec: - Group ID is lowercased and stored as the namespace - Artifact ID is lowercased and stored as the name

Types

This section is empty.

Jump to

Keyboard shortcuts

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