slice

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Remove

func Remove(slice []interface{}, index int) []interface{}

Remove - Removes an element from the slice at certain index, if the index not exists returns the slice unchanged

func RemoveString

func RemoveString(slice []string, index int) []string

RemoveString - Removes an element from the slice of strings at certain index, if the index not exists returns the slice unchanged

func StringToInterface

func StringToInterface(slice []string) []interface{}

StringToInterface - Transform a slice of interface to slice of string

Types

This section is empty.

Jump to

Keyboard shortcuts

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