arrays

package
v0.0.0-...-c8a214a Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Overview

Package arrays includes several sub-packages allowing type-safe execution of tasks commonly applied to slices.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareFloat64Slices

func CompareFloat64Slices(a, b []float64) int

Treats smaller slices as being less than bigger ones and then does a per index comparison betweeen the two slices.

func CompareInt64Slices

func CompareInt64Slices(a, b []int64) int

Treats smaller slices as being less than bigger ones and then does a per index comparison betweeen the two slices.

func CompareIntSlices

func CompareIntSlices(a, b []int) int

Treats smaller slices as being less than bigger ones and then does a per index comparison betweeen the two slices.

func CompareStringSlices

func CompareStringSlices(a, b []string) int

Treats smaller slices as being less than bigger ones and then does a per index comparison betweeen the two slices.

func EqualFloat64

func EqualFloat64(a, b []float64) bool

func EqualInt

func EqualInt(a, b []int) bool

func EqualInt64

func EqualInt64(a, b []int64) bool

func EqualString

func EqualString(a, b []string) bool

Types

This section is empty.

Directories

Path Synopsis
Package dedupe comprises types and functions in support of removing duplicates from a slice of a given type.
Package dedupe comprises types and functions in support of removing duplicates from a slice of a given type.
Package indexof comprises types and functions in support of finding the index of a target value within a slice of same-typed values.
Package indexof comprises types and functions in support of finding the index of a target value within a slice of same-typed values.

Jump to

Keyboard shortcuts

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