Documentation ¶ Index ¶ Variables func Detect(fs filer.Filer) (map[string]float32, error) Constants ¶ This section is empty. Variables ¶ View Source var ( // ErrNoLicenseFound is raised if no license files were found. ErrNoLicenseFound = errors.New("no license file was found") ) Functions ¶ func Detect ¶ func Detect(fs filer.Filer) (map[string]float32, error) Detect returns the most probable reference licenses matched for the given file tree. Each match has the confidence assigned, from 0 to 1, 1 means 100% confident. Types ¶ This section is empty. Source Files ¶ View all Source files licensedb.go Directories ¶ Show internal Expand all Path Synopsis filer internal assets fastlog normalize processors wmh Click to show internal directories. Click to hide internal directories.