v0.0.539
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m49s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m49s
This commit is contained in:
parent
fc2657179b
commit
54b0d6701d
@ -11,6 +11,7 @@ import (
|
||||
|
||||
type CursorToken interface {
|
||||
Token() string
|
||||
IsEnd() bool
|
||||
}
|
||||
|
||||
type Mode string
|
||||
|
@ -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
|
||||
|
@ -31,3 +31,7 @@ func (c CTPaginated) Token() string {
|
||||
|
||||
return "$" + strconv.Itoa(c.Page)
|
||||
}
|
||||
|
||||
func (c CTPaginated) IsEnd() bool {
|
||||
return c.Mode == CTMEnd
|
||||
}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user