detector

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const NoDesc = "[No description]"
View Source
const NoFormula = "[Could not find a formula or a cask]"
View Source
const NoName = "[No name]"

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector struct {
	// contains filtered or unexported fields
}

func New

func New(client *github.Client) *Detector

func (*Detector) Detect

func (d *Detector) Detect(ctx context.Context, line string) (*Formula, error)

type Formula

type Formula struct {
	Name string
	Desc string
}

Jump to

Keyboard shortcuts

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