Versions in this module Expand all Collapse all v1 v1.0.0 Apr 24, 2024 Changes in this version + const UInt32Max + const UInt32Mid + const UInt32Min + func UTF16Length(s string) uint32 + func UTF16Slice(s string, start, end uint32) string + type BlockID = uuid.UUID + type BlockPath struct + BlockID BlockID + NoteID NoteID + type ClosedRange struct + Length uint32 + Lower uint32 + func (cr ClosedRange) Compare(other ClosedRange) Order + func (cr ClosedRange) Intersection(other ClosedRange) (ClosedRange, error) + func (cr ClosedRange) Upper() uint32 + type FatalError string + const ExistingSpanOverwrite + const InvalidDistanceBetweenNoRelation + const NoIntersection + const UnAppendable + const UnPrependable + func (fatal FatalError) Error() string + type Nonce = uint32 + type NoteID = BlockID + type Order int + const Appendable + const Equal + const Greater + const IncludedLeft + const IncludedMiddle + const IncludedRight + const IncludingLeft + const IncludingMiddle + const IncludingRight + const LeftOverlap + const Less + const Prependable + const RightOverlap + const Splitted + const Splitting + const Tagged + const Tagging + func CompareNumber[T ~uint32 | ~int](a, b T) Order + type Priority = uint32 + type ReplicaID = uint32 + type Stamp struct + ReplicaID ReplicaID + Timestamp Timestamp + func (s *Stamp) IsOlderThan(other *Stamp) bool + func (s *Stamp) MarshalJSON() ([]byte, error) + func (s *Stamp) UnmarshalJSON(data []byte) error + type Timestamp = uint64