array

package
Version: v0.0.0-...-c954afd Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrString

type ArrString string

ArrString type of array string

func (ArrString) InArray

func (s ArrString) InArray(val string, array []string) (exists bool, index int)

InArray checking, return bool and index

func (ArrString) Remove

func (s ArrString) Remove(array []string, value string) []string

Remove array by value

type ArrUint32

type ArrUint32 uint32

ArrUint32 type of array uint 32

func (ArrUint32) InArray

func (s ArrUint32) InArray(val uint32, array []uint32) (exists bool, index int)

InArray checking, return bool and index

func (ArrUint32) Remove

func (s ArrUint32) Remove(array []uint32, value uint32) []uint32

Remove array by value

func (ArrUint32) RemoveByIndex

func (s ArrUint32) RemoveByIndex(array []uint32, index int) []uint32

RemoveByIndex is remove array by index

type ArrUint64

type ArrUint64 uint64

ArrUint64 type of array uint 64

func (ArrUint64) InArray

func (s ArrUint64) InArray(val uint64, array []uint64) (exists bool, index int)

InArray checking, return bool and index

func (ArrUint64) Remove

func (s ArrUint64) Remove(array []uint64, value uint64) []uint64

Remove array by value

func (ArrUint64) RemoveByIndex

func (s ArrUint64) RemoveByIndex(array []uint64, index int) []uint64

RemoveByIndex is remove array by index

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL