Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizePackageType ¶
Types ¶
type Dependency ¶
type Dependency struct {
Id string `json:"id"`
Type string `json:"type"`
Version string `json:"version,omitempty"`
Hash string `json:"hash,omitempty"`
Repository string `json:"repository,omitempty"`
}
func (Dependency) AsDependencyReference ¶
func (wd Dependency) AsDependencyReference() string
AsDependencyReference returns a string representation of the dependency suitable for use with their respective package managers or tooling.
func (Dependency) AsPackageUrl ¶
func (wd Dependency) AsPackageUrl() string
func (Dependency) AsPackageUrlNoVersion ¶
func (wd Dependency) AsPackageUrlNoVersion() string
Click to show internal directories.
Click to hide internal directories.