slice

package
v0.1.28 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteArr

func ByteArr(i ...byte) []byte

func FlipSlice

func FlipSlice(a interface{}) interface{}

func HasFloat64

func HasFloat64(arr []float64, item float64) bool

func HasInt

func HasInt(arr []int, item int) bool

func HasString added in v0.1.8

func HasString(arr []string, item string) bool

func IntArr

func IntArr(i ...int) []int

func RemoveDuplicateString added in v0.1.25

func RemoveDuplicateString(a []string) []string

func SliceConcat

func SliceConcat(a ...[]interface{}) []interface{}

func StringArr

func StringArr(s ...string) []string

Types

type KVIntString

type KVIntString struct {
	K int
	V string
}

Jump to

Keyboard shortcuts

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