This commit is contained in:
Vladislav Kunetskiy
2026-10-29 23:36:12 +03:00
parent 276dbdad8a
commit 6344754111
383 changed files with 68663 additions and 194 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
}