Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLicenseRestrictions ¶
func CheckLicenseRestrictions(dependency Dependency, licenseName string, licenseRestriction LicenseRestriction) error
Types ¶
type Dependency ¶
type DependencyInfo ¶
type DependencyInfo struct { Dependencies []Dependency `json:"dependencies"` Licenses map[string]string `json:"licenseInfo"` }
func NewDependencyInfo ¶
func NewDependencyInfo() DependencyInfo
func (*DependencyInfo) Unmarshal ¶
func (d *DependencyInfo) Unmarshal(data []byte) error
func (*DependencyInfo) UpdateLicenseList ¶
func (d *DependencyInfo) UpdateLicenseList() error
Click to show internal directories.
Click to hide internal directories.