Versions in this module Expand all Collapse all v2 v2.0.2 Oct 23, 2023 Changes in this version + type Classification struct + Confidence float64 + EndLine int + Name string + StartLine int + Text string + type Classifications []*Classification + type FileClassifications struct + Classifications Classifications + Filepath string + type JSONResult []*FileClassifications + func NewJSONResult(licenses LicenseTypes, includeText bool) (JSONResult, error) + func (jr JSONResult) Len() int + func (jr JSONResult) Less(i, j int) bool + func (jr JSONResult) Swap(i, j int) + type LicenseType struct + Confidence float64 + EndLine int + Filename string + MatchType string + Name string + StartLine int + Variant string + type LicenseTypes []*LicenseType + func (lt LicenseTypes) Len() int + func (lt LicenseTypes) Less(i, j int) bool + func (lt LicenseTypes) Swap(i, j int)