All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m23s
16 lines
315 B
Go
16 lines
315 B
Go
package cursortoken
|
|
|
|
import (
|
|
"context"
|
|
"go.mongodb.org/mongo-driver/mongo"
|
|
)
|
|
|
|
type RawFilter interface {
|
|
FilterQuery(ctx context.Context) mongo.Pipeline
|
|
}
|
|
|
|
type Filter interface {
|
|
FilterQuery(ctx context.Context) mongo.Pipeline
|
|
Pagination(ctx context.Context) (string, SortDirection, string, SortDirection)
|
|
}
|