Documentation
¶
Overview ¶
Package insert provides the "insert" function for slices of basic types.
Version 1.0.0.
Index ¶
- func Bool(list []bool, index int, key bool) []bool
- func Byte(list []byte, index int, key byte) []byte
- func Complex128(list []complex128, index int, key complex128) []complex128
- func Complex64(list []complex64, index int, key complex64) []complex64
- func Error(list []error, index int, key error) []error
- func Float32(list []float32, index int, key float32) []float32
- func Float64(list []float64, index int, key float64) []float64
- func Int(list []int, index int, key int) []int
- func Int16(list []int16, index int, key int16) []int16
- func Int32(list []int32, index int, key int32) []int32
- func Int64(list []int64, index int, key int64) []int64
- func Int8(list []int8, index int, key int8) []int8
- func Interface(list []interface{}, index int, key interface{}) []interface{}
- func Pointer(list []unsafe.Pointer, index int, key unsafe.Pointer) []unsafe.Pointer
- func Rune(list []rune, index int, key rune) []rune
- func String(list []string, index int, key string) []string
- func UInt(list []uint, index int, key uint) []uint
- func UInt16(list []uint16, index int, key uint16) []uint16
- func UInt32(list []uint32, index int, key uint32) []uint32
- func UInt64(list []uint64, index int, key uint64) []uint64
- func UInt8(list []uint8, index int, key uint8) []uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complex128 ¶
func Complex128(list []complex128, index int, key complex128) []complex128
Complex128 inserts key in list.
func Interface ¶
func Interface(list []interface{}, index int, key interface{}) []interface{}
Interface inserts key in list.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.