corecmp

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyItem

func AnyItem(left, right interface{}) corecomparator.Compare

func Byte

func Byte(left, right byte) corecomparator.Compare

func BytePtr

func BytePtr(left, right *byte) corecomparator.Compare

func Integer

func Integer(left, right int) corecomparator.Compare

func Integer16

func Integer16(left, right int16) corecomparator.Compare

func Integer16Ptr

func Integer16Ptr(left, right *int16) corecomparator.Compare

func Integer32

func Integer32(left, right int32) corecomparator.Compare

func Integer32Ptr

func Integer32Ptr(left, right *int32) corecomparator.Compare

func Integer64

func Integer64(left, right int64) corecomparator.Compare

func Integer64Ptr

func Integer64Ptr(left, right *int64) corecomparator.Compare

func Integer8

func Integer8(left, right int8) corecomparator.Compare

func Integer8Ptr

func Integer8Ptr(left, right *int8) corecomparator.Compare

func IntegerPtr

func IntegerPtr(left, right *int) corecomparator.Compare

func IntegersEqual

func IntegersEqual(array, other []int) bool

func IntegersEqualPtr

func IntegersEqualPtr(array, other *[]int) bool

func StringsEqual

func StringsEqual(leftItems, rightItems []string) bool

func StringsEqualPtr

func StringsEqualPtr(array, other *[]string) bool

func StringsEqualWithoutOrder added in v0.9.8

func StringsEqualWithoutOrder(leftItems, rightItems []string) bool

StringsEqualWithoutOrder

Sort then compare

func Time

func Time(left, right time.Time) corecomparator.Compare

func TimePtr

func TimePtr(left, right *time.Time) corecomparator.Compare

func VersionSliceByte

func VersionSliceByte(leftVersions, rightVersions []byte) corecomparator.Compare

func VersionSliceInteger

func VersionSliceInteger(leftVersions, rightVersions []int) corecomparator.Compare

Types

This section is empty.

Jump to

Keyboard shortcuts

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