Documentation ¶
Index ¶
- type Repository
- func (p *Repository) All(schema string) ([]model.Email, error)
- func (p *Repository) Create(email *model.Email, schema string) (*model.Email, error)
- func (p *Repository) Delete(id uint, schema string) error
- func (p *Repository) FindByID(id uint, schema string) (*model.Email, error)
- func (p *Repository) Migrate(schema string) error
- func (p *Repository) Update(email *model.Email, schema string) (*model.Email, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.