match

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FoundMatch

type FoundMatch struct {
	Matches models.Match   `json:"matches"`
	Profile models.Profile `json:"profile"`
}

FoundMatch contains a match and why something is matched

func Match

func Match(scraperKey *models.APIKey, profiles []*models.Profile, cv models.CV) []FoundMatch

Match tries to match a profile to a CV

func (FoundMatch) HandleMatch

func (match FoundMatch) HandleMatch(cv models.CV, pdfFile *os.File, keyName string)

HandleMatch sends a match to the desired destination based on the OnMatch field in the profile

Jump to

Keyboard shortcuts

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