Added total items to the Load* methods' return values

This commit is contained in:
Marius Orcsik 2019-05-05 22:56:19 +02:00
parent f740060847
commit 8b5feb3b2b
No known key found for this signature in database
GPG key ID: 889CE8E4FB2D877A

View file

@ -6,19 +6,19 @@ import (
// Loader
type Loader interface {
Load(f Filterable) (as.ItemCollection, error)
Load(f Filterable) (as.ItemCollection, int, error)
}
// ActivityLoader
type ActivityLoader interface {
LoadActivities(f Filterable) (as.ItemCollection, error)
LoadActivities(f Filterable) (as.ItemCollection, int, error)
}
// ActorLoader
type ActorLoader interface {
LoadActors(f Filterable) (as.ItemCollection, error)
LoadActors(f Filterable) (as.ItemCollection, int, error)
}
// ObjectLoader
type ObjectLoader interface {
LoadObjects(f Filterable) (as.ItemCollection, error)
LoadObjects(f Filterable) (as.ItemCollection, int, error)
}
// ActivitySaver
type ActivitySaver interface {