licenses

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector struct {
}

func NewLicenseDetector

func NewLicenseDetector() *Detector

func (*Detector) DetectFile

func (d *Detector) DetectFile(pathFileName string) ([]License, error)

type License

type License struct {
	File       string
	Id         string
	Expression string
	Declared   bool
	Confidence float64
}

Jump to

Keyboard shortcuts

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