Documentation
¶
Index ¶
- type NounStorage
- func (s *NounStorage) Delete(id string) error
- func (s NounStorage) GetAllPaginated(constraints constraints.PaginatedConstraints) (model.ResultSet, error)
- func (s NounStorage) GetOne(id string) (model.Noun, error)
- func (s *NounStorage) Insert(c model.Noun) (string, error)
- func (s *NounStorage) Update(c model.Noun) error
- type TensePresIndStorage
- func (t *TensePresIndStorage) Delete(id string) error
- func (t TensePresIndStorage) GetAllPaginated(constraints constraints.PaginatedConstraints) (model.ResultSet, error)
- func (t TensePresIndStorage) GetOne(id string, constraints constraints.SingleConstraints) (model.TensePresentIndicative, error)
- func (t *TensePresIndStorage) Insert(c model.TensePresentIndicative) (string, error)
- func (t *TensePresIndStorage) Update(c model.TensePresentIndicative) error
- type VerbStorage
- func (s *VerbStorage) Delete(id string) error
- func (s VerbStorage) GetAllPaginated(constraints constraints.PaginatedConstraints) (model.ResultSet, error)
- func (s VerbStorage) GetOne(id string) (model.Verb, error)
- func (s *VerbStorage) Insert(c model.Verb) (string, error)
- func (s *VerbStorage) Update(c model.Verb) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NounStorage ¶
type NounStorage struct{}
NounStorage stores all nouns
func (NounStorage) GetAllPaginated ¶
func (s NounStorage) GetAllPaginated(constraints constraints.PaginatedConstraints) (model.ResultSet, error)
Get all
type TensePresIndStorage ¶
type TensePresIndStorage struct{}
TensePresIndStorage stores all tenses
func (TensePresIndStorage) GetAllPaginated ¶
func (t TensePresIndStorage) GetAllPaginated(constraints constraints.PaginatedConstraints) (model.ResultSet, error)
Get all
func (TensePresIndStorage) GetOne ¶
func (t TensePresIndStorage) GetOne(id string, constraints constraints.SingleConstraints) (model.TensePresentIndicative, error)
Get one
func (*TensePresIndStorage) Insert ¶
func (t *TensePresIndStorage) Insert(c model.TensePresentIndicative) (string, error)
Insert
func (*TensePresIndStorage) Update ¶
func (t *TensePresIndStorage) Update(c model.TensePresentIndicative) error
Update
type VerbStorage ¶
type VerbStorage struct{}
VerbStorage stores all verbs
func (VerbStorage) GetAllPaginated ¶
func (s VerbStorage) GetAllPaginated(constraints constraints.PaginatedConstraints) (model.ResultSet, error)
Get all
Click to show internal directories.
Click to hide internal directories.