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 }