Documentation ¶
Index ¶
- type Repository
- func (p *Repository) All(schema string) ([]model.Note, error)
- func (p *Repository) Create(note *model.Note, schema string) (*model.Note, error)
- func (p *Repository) Delete(id uint, schema string) error
- func (p *Repository) FindByID(id uint, schema string) (*model.Note, error)
- func (p *Repository) Migrate(schema string) error
- func (p *Repository) Update(note *model.Note, schema string) (*model.Note, 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.