collection

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(length int, do func(i int) bool, funcs ...CollecitonFunc) []bool

func Int

func Int(length int, do func(i int) int, funcs ...CollecitonFunc) []int

func Int16

func Int16(length int, do func(i int) int16, funcs ...CollecitonFunc) []int16

func Int32

func Int32(length int, do func(i int) int32, funcs ...CollecitonFunc) []int32

func Int64

func Int64(length int, do func(i int) int64, funcs ...CollecitonFunc) []int64

func Int8

func Int8(length int, do func(i int) int8, funcs ...CollecitonFunc) []int8

func String

func String(length int, do func(i int) string, funcs ...CollecitonFunc) []string

func Uint

func Uint(length int, do func(i int) uint, funcs ...CollecitonFunc) []uint

func Uint16

func Uint16(length int, do func(i int) uint16, funcs ...CollecitonFunc) []uint16

func Uint32

func Uint32(length int, do func(i int) uint32, funcs ...CollecitonFunc) []uint32

func Uint64

func Uint64(length int, do func(i int) uint64, funcs ...CollecitonFunc) []uint64

func Uint8

func Uint8(length int, do func(i int) uint8, funcs ...CollecitonFunc) []uint8

Types

type CollecitonFunc

type CollecitonFunc func(*CollecitonOptions)

func Judge

func Judge(judge func(i int) bool) CollecitonFunc

type CollecitonOptions

type CollecitonOptions struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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