match

package
v0.0.0-...-14b48b0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteToCSV

func WriteToCSV(dry bool, pairs []Pair, filename string) error

Types

type Pair

type Pair struct {
	Giftee csv.User
	Santa  csv.User
}

Pair represents a matched pair of users

func MatchUsers

func MatchUsers(ul []csv.User) ([]Pair, error)

MatchUsers is the main function of this package

Jump to

Keyboard shortcuts

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