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, entity interface{}) (string, error) Get(ctx context.Context, filter map[string]interface{}, skip, take *int) ([]interface{}, error) GetByID(ctx context.Context, ID string) (interface{}, error) Update(ctx context.Context, ID string, entity interface{}) error Delete(ctx context.Context, ID string) error }
Repository interface to be used as a port
Click to show internal directories.
Click to hide internal directories.