asc

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 1 Imported by: 0

README

Asc

Build Status Coverage Status Go Report Card GoDoc

Asc allows for a simple method of selecting an ascending insertion sort function for any of the supported types.

This package currently supports numeric types and time.Time.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float32

func Float32(i, j interface{}) bool

Float32 is a less than comparison function for the Float32 numeric type.

func Float64

func Float64(i, j interface{}) bool

Float64 is a less than comparison function for the Float64 numeric type.

func Int

func Int(i, j interface{}) bool

Int is a less than comparison function for the Int numeric type.

func Int16

func Int16(i, j interface{}) bool

Int16 is a less than comparison function for the Int16 numeric type.

func Int32

func Int32(i, j interface{}) bool

Int32 is a less than comparison function for the Int32 numeric type.

func Int64

func Int64(i, j interface{}) bool

Int64 is a less than comparison function for the Int64 numeric type.

func Int8

func Int8(i, j interface{}) bool

Int8 is a less than comparison function for the Int8 numeric type.

func Time

func Time(i, j time.Time) bool

Time is a less than comparison function for the time.Time type.

func Uint

func Uint(i, j interface{}) bool

Uint is a less than comparison function for the Uint numeric type.

func Uint16

func Uint16(i, j interface{}) bool

Uint16 is a less than comparison function for the Uint16 numeric type.

func Uint32

func Uint32(i, j interface{}) bool

Uint32 is a less than comparison function for the Uint32 numeric type.

func Uint64

func Uint64(i, j interface{}) bool

Uint64 is a less than comparison function for the Uint64 numeric type.

func Uint8

func Uint8(i, j interface{}) bool

Uint8 is a less than comparison function for the Uint8 numeric type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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