comparator

package
v0.0.0-...-d3d32da Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LESS_THAN    comparison = -1
	EQUAL        comparison = 0
	GREATER_THAN comparison = 1
)

Variables

This section is empty.

Functions

func Compare

func Compare(a, b []byte) comparison

Compare two byte slices in lexicographical order

Types

This section is empty.

Jump to

Keyboard shortcuts

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