Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { Create(ctx context.Context, property *model.Property) error ReadAll(ctx context.Context) ([]*model.Property, error) ReadAllFiltered(ctx context.Context, names []string) ([]*model.Property, error) FindByID(context context.Context, id string) (*model.Property, error) FindByName(context context.Context, name string) (*model.Property, error) Delete(context context.Context, id string) error Update(ctx context.Context, property *model.Property) error }
Repository interface defining the functionality of a basic implementations.
Click to show internal directories.
Click to hide internal directories.