Added total items to the Load* methods' return values
This commit is contained in:
parent
f740060847
commit
8b5feb3b2b
1 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue