Documentation
¶
Overview ¶
Copyright (c) 2017 Tap4Fun.Co.Ltd. All rights reserved.
Index ¶
- func AppendToSlice(slice, appendItems []interface{}) []interface{}
- func InsertToSlice(slice, insertion []interface{}, index int) []interface{}
- func RemoveFromSlice(slice []interface{}, start int, end int) []interface{}
- func RemoveFromSliceIf(slice []interface{}, condition func(interface{}) bool) []interface{}
- func ReverseSlice(slice []interface{}) []interface{}
- func UniqueSlice(slice *[]interface{})
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 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.
Click to show internal directories.
Click to hide internal directories.