Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VendorLicenses ¶
type VendorLicenses struct {
Directory string
// contains filtered or unexported fields
}
VendorLicenses parses the vendor directory to find licenses
func (*VendorLicenses) List ¶
func (v *VendorLicenses) List() (list []string, err error)
List and load paths to license files on the vendor directory
func (*VendorLicenses) Missing ¶
func (v *VendorLicenses) Missing() (missing []string, err error)
Missing licenses on a given vendor directory
func (*VendorLicenses) ReadAll ¶
func (v *VendorLicenses) ReadAll() (legal []byte, err error)
ReadAll reads all licenses on the vendor directory
Click to show internal directories.
Click to hide internal directories.