packages

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortFuncsStruct

type SortFuncsStruct struct {
	LenFunc  func() int
	LessFunc func(i, j int) bool
	SwapFunc func(i, j int)
}

SortFuncsStruct provides functions to be used with Sort

func (SortFuncsStruct) Len

func (s SortFuncsStruct) Len() int

func (SortFuncsStruct) Less

func (s SortFuncsStruct) Less(i, j int) bool

func (SortFuncsStruct) Swap

func (s SortFuncsStruct) Swap(i, j int)

Jump to

Keyboard shortcuts

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