Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LicenceDetector ¶
LicenceDetector defines the behaviour for Licence detectors
func NewLicenceDetector ¶ added in v0.1.1
func NewLicenceDetector() LicenceDetector
NewLicenceDetector creates a new LicenceDetector
type LicenceMatch ¶
LicenceMatch describes the level of confidence for the detected Licence
type Result ¶
type Result struct { Project string `json:"project,omitempty"` Matches []LicenceMatch `json:"matches,omitempty"` ErrStr string `json:"error,omitempty"` }
Result is a representation of the Licence detection outcome for a project
Click to show internal directories.
Click to hide internal directories.