Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Affiliation ¶
type AffiliationRepo ¶
type AffiliationRepo interface { GetAffiliation(id uint64) (Affiliation, error) ListAffiliation() ([]Affiliation, error) AddAffiliation(affiliation Affiliation) error EditAffiliation(affiliation Affiliation) error DeleteAffiliation(id uint64) error }
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AddAffiliation ¶
func (m *Store) AddAffiliation(p *Affiliation) error
func (*Store) DeleteAffiliation ¶
func (*Store) GetAffiliationById ¶
func (m *Store) GetAffiliationById(id uint64) (p Affiliation, err error)
func (*Store) ListAllAffiliations ¶
func (m *Store) ListAllAffiliations() (p []Affiliation, err error)
Click to show internal directories.
Click to hide internal directories.