key

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Int

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

func (*Int) Less

func (k *Int) Less(other Key) bool

type Key

type Key interface {
	// Less returns wether the key is smaller than v2
	Less(v2 Key) bool
}

func AllocateInt

func AllocateInt(line string) (Key, error)

func AllocateString

func AllocateString(line string) (Key, error)

func AllocateTsv

func AllocateTsv(line string, pos int) (Key, error)

type String

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

func (*String) Less

func (k *String) Less(other Key) bool

Jump to

Keyboard shortcuts

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