cursor

package
v1.109.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cursor

type Cursor interface {
	Comparable(Cursor) bool
	Equal(Cursor) bool
	Before(Cursor) bool
	After(Cursor) bool
}

func MustParse

func MustParse(s string) Cursor

func NewCursor

func NewCursor(s string) (Cursor, error)

type SequenceCursor

type SequenceCursor struct {
	// contains filtered or unexported fields
}

func (SequenceCursor) After

func (c SequenceCursor) After(o Cursor) bool

func (SequenceCursor) Before

func (c SequenceCursor) Before(o Cursor) bool

func (SequenceCursor) Comparable

func (c SequenceCursor) Comparable(o Cursor) bool

func (SequenceCursor) Equal

func (c SequenceCursor) Equal(o Cursor) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL