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