Documentation
¶
Overview ¶
package model helps with data modelling on top of the store
Index ¶
- Variables
- func Create(ctx context.Context, e Entity) error
- func Delete(ctx context.Context, e Entity) error
- func List(ctx context.Context, e Entity, rsp interface{}, q Query) error
- func Read(ctx context.Context, e Entity) error
- func ReadIndex(ctx context.Context, e Entity) error
- func Update(ctx context.Context, e Entity) error
- type Entity
- type Query
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") ErrAlreadyExists = errors.New("already exists") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.