corecmp

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 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 IsIntegersEqual added in v1.1.0

func IsIntegersEqual(array, other []int) bool

func IsIntegersEqualPtr added in v1.1.0

func IsIntegersEqualPtr(leftSlicePtr, rightSlicePtr *[]int) bool

func IsStringsEqual added in v1.1.0

func IsStringsEqual(leftItems, rightItems []string) bool

func IsStringsEqualPtr added in v1.1.0

func IsStringsEqualPtr(leftLines, rightLines *[]string) bool

func IsStringsEqualWithoutOrder added in v1.1.0

func IsStringsEqualWithoutOrder(leftItems, rightItems []string) bool

IsStringsEqualWithoutOrder

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