Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MLicense = app_msg.Apply(&MsgLicense{}).(*MsgLicense)
)
Functions ¶
func MakeTestData ¶
Types ¶
type LicenseInfo ¶
type LicenseInfo struct { Package string `json:"package"` Url string `json:"url"` LicenseType string `json:"license_type"` LicenseBody string `json:"license_body"` }
func Detect ¶
func Detect(c app_control.Control) (inventory []LicenseInfo, err error)
type Licenses ¶
type Licenses struct { Project LicenseInfo `json:"project"` ThirdParty []LicenseInfo `json:"third_party"` }
func LoadLicenses ¶
func LoadLicenses(c app_control.Control, path string) (licenses Licenses, err error)
Click to show internal directories.
Click to hide internal directories.