leagues

package
v0.0.0-...-767acde Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2016 License: GPL-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize()

Initialize the leagues subsystem

Types

type League

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

func NewLeague

func NewLeague(id, name, legalName, insuranceNumber, number string) *League

func (*League) ID

func (l *League) ID() string

func (*League) Name

func (l *League) Name() string

func (*League) SetID

func (l *League) SetID(v string) error

func (*League) SetName

func (l *League) SetName(v string) error

type Person

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

func NewPerson

func NewPerson(id, name, legalName, insuranceNumber, number string) *Person

NewPerson creates a new person (unattached to any leagues at this point)

func (*Person) ID

func (p *Person) ID() string

ID returns the id

func (*Person) InsuranceNumber

func (p *Person) InsuranceNumber() string

func (*Person) LegalName

func (p *Person) LegalName() string

func (*Person) Name

func (p *Person) Name() string

func (*Person) Number

func (p *Person) Number() string

func (*Person) SetID

func (p *Person) SetID(v string) error

SetID sets the ID to `v`

func (*Person) SetInsuranceNumber

func (p *Person) SetInsuranceNumber(v string) error

func (*Person) SetLegalName

func (p *Person) SetLegalName(v string) error

func (*Person) SetName

func (p *Person) SetName(v string) error

func (*Person) SetNumber

func (p *Person) SetNumber(v string) error

Jump to

Keyboard shortcuts

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