v0.0.539
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m49s

This commit is contained in:
Mike Schwörer 2024-10-27 02:21:35 +02:00
parent fc2657179b
commit 54b0d6701d
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
4 changed files with 11 additions and 2 deletions

View File

@ -11,6 +11,7 @@ import (
type CursorToken interface {
Token() string
IsEnd() bool
}
type Mode string

View File

@ -111,6 +111,10 @@ func (c CTKeySort) Token() string {
return "tok_" + base32.StdEncoding.EncodeToString(body)
}
func (c CTKeySort) IsEnd() bool {
return c.Mode == CTMEnd
}
func (c CTKeySort) valuePrimaryObjectId() (primitive.ObjectID, bool) {
if oid, err := primitive.ObjectIDFromHex(c.ValuePrimary); err == nil {
return oid, true

View File

@ -31,3 +31,7 @@ func (c CTPaginated) Token() string {
return "$" + strconv.Itoa(c.Page)
}
func (c CTPaginated) IsEnd() bool {
return c.Mode == CTMEnd
}

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.538"
const GoextVersion = "0.0.539"
const GoextVersionTimestamp = "2024-10-27T02:18:45+0200"
const GoextVersionTimestamp = "2024-10-27T02:21:35+0200"