This commit is contained in:
Vladislav Kunetskiy
2026-11-05 21:13:16 +03:00
commit 6e7c322f27
480 changed files with 87593 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package domain
import (
"time"
"github.com/google/uuid"
)
type Cursor struct {
Scope uuid.UUID
CreatedAt time.Time
ID uuid.UUID
}
func (c Cursor) BelongsTo(scope uuid.UUID) bool {
return c.Scope == scope
}