Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LicenseGetter ¶
type LicenseGetter struct {
// contains filtered or unexported fields
}
LicenseGetter provides methods to retrieve the licenses associated with go packages
func NewLicenseGetter ¶
func NewLicenseGetter(webLG WebLicenseGetter) *LicenseGetter
NewLicenseGetter returns a new instance of LicenseGetter using the provided WebLicenseGetter where possible
func (*LicenseGetter) GetLicense ¶
func (lg *LicenseGetter) GetLicense(packagePath string) (diligent.License, error)
GetLicense will return the license associated with a given go package
Click to show internal directories.
Click to hide internal directories.