slice

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Copyright (c) 2017 Tap4Fun.Co.Ltd. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendToSlice

func AppendToSlice(slice, appendItems []interface{}) []interface{}

func InsertToSlice

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

func RemoveFromSlice

func RemoveFromSlice(slice []interface{}, start int, end int) []interface{}

func RemoveFromSliceIf

func RemoveFromSliceIf(slice []interface{}, condition func(interface{}) bool) []interface{}

condition is the function which is used to check if the element shall be removed

func ReverseSlice

func ReverseSlice(slice []interface{}) []interface{}

func UniqueSlice

func UniqueSlice(slice *[]interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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