results

package
v0.0.0-...-9a7fe83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package results contains the result type returned by the classifier backend. Placing the type into a separate module allows us to swap out backends and still use the same datatype.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LicenseType

type LicenseType struct {
	Filename   string
	Name       string
	Confidence float64
	Offset     int
	Extent     int
}

LicenseType is the assumed type of the unknown license.

type LicenseTypes

type LicenseTypes []*LicenseType

LicenseTypes is a list of LicenseType objects.

func (LicenseTypes) Len

func (lt LicenseTypes) Len() int

func (LicenseTypes) Less

func (lt LicenseTypes) Less(i, j int) bool

func (LicenseTypes) Swap

func (lt LicenseTypes) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL