You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
392 B
13 lines
392 B
package repositories
|
|
|
|
import (
|
|
"context"
|
|
"git.aiterp.net/rpdata/api/models"
|
|
)
|
|
|
|
type ChangeRepository interface {
|
|
Find(ctx context.Context, id string) (*models.Change, error)
|
|
List(ctx context.Context, filter models.ChangeFilter) ([]*models.Change, error)
|
|
Insert(ctx context.Context, change models.Change) (*models.Change, error)
|
|
Remove(ctx context.Context, change models.Change) error
|
|
}
|