santa

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadShuffle = errors.New("bad shuffle")

Functions

This section is empty.

Types

type Person

type Person struct {
	Name    string `yaml:"name"`
	Clan    string `yaml:"clan"`
	Email   string `yaml:"email"`
	Gifted  []*Person
	NbGifts int
}

func SecretSanta

func SecretSanta(config string, nbGifts int) (persons []*Person)

func (*Person) String

func (p *Person) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳