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.
|
|
package repositories
import ( "context" "github.com/gisle/stufflog/models" )
type ActivityRepository interface { FindID(ctx context.Context, id string) (*models.Activity, error) List(ctx context.Context) ([]*models.Activity, error) ListUser(ctx context.Context, user models.User) ([]*models.Activity, error) Insert(ctx context.Context, activity models.Activity) error Update(ctx context.Context, activity models.Activity, updates []*models.ActivityUpdate) (*models.Activity, error) Remove(ctx context.Context, activity models.Activity) error }
|