arrayutils

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JoinStrings

func JoinStrings(data []string) string

JoinStrings concatenate every data in the array and return the string content

func RemoveElement

func RemoveElement(data []string, j []int) []string

RemoveElement delete the element of the indexes contained in j of the data in input

func RemoveFromByte added in v0.0.5

func RemoveFromByte(s []byte, i int) []byte

RemoveFromByte Remove a given element from a string NOTE: Panic in case of index out of bound

func RemoveWhiteSpaceArray

func RemoveWhiteSpaceArray(data []string) []string

RemoveWhiteSpaceArray is delegated to iterate every array item and remove the whitespace from the given string

Types

This section is empty.

Jump to

Keyboard shortcuts

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