Documentation ¶
Index ¶
- type Affiliation
- type Store
- func (s *Store) AddAffiliation(ctx context.Context, affiliationParam Affiliation) (Affiliation, error)
- func (s *Store) DeleteAffiliation(ctx context.Context, affiliationParam Affiliation) error
- func (s *Store) GetAffiliation(ctx context.Context, affiliationParam Affiliation) (Affiliation, error)
- func (s *Store) GetAffiliations(ctx context.Context) ([]Affiliation, error)
- func (s *Store) GetAffiliationsMinimal(ctx context.Context) ([]Affiliation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Affiliation ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store stores the dependencies
func NewAffiliationRepo ¶
NewAffiliationRepo stores our dependency
func (*Store) AddAffiliation ¶
func (s *Store) AddAffiliation(ctx context.Context, affiliationParam Affiliation) (Affiliation, error)
func (*Store) DeleteAffiliation ¶
func (s *Store) DeleteAffiliation(ctx context.Context, affiliationParam Affiliation) error
func (*Store) GetAffiliation ¶
func (s *Store) GetAffiliation(ctx context.Context, affiliationParam Affiliation) (Affiliation, error)
func (*Store) GetAffiliations ¶
func (s *Store) GetAffiliations(ctx context.Context) ([]Affiliation, error)
func (*Store) GetAffiliationsMinimal ¶
func (s *Store) GetAffiliationsMinimal(ctx context.Context) ([]Affiliation, error)
Click to show internal directories.
Click to hide internal directories.