slice

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter(src interface{}, filter func(i interface{}) bool) error

func GroupBy

func GroupBy(src interface{}, hash func(h interface{}) interface{}) error

func Reverse

func Reverse(s interface{}) error

func Shuffle

func Shuffle(poker Poker)

Types

type Poker

type Poker interface {
	Len() int
	Swap(i, j int)
}

Jump to

Keyboard shortcuts

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