Documentation
¶
Overview ¶
Package inslice provides functions to search in slices
Index ¶
- func CheckIndex(index int, list interface{}) error
- func Float32(a float32, list *[]float32) bool
- func Float64(a float64, list *[]float64) bool
- func Int(a int, list *[]int) bool
- func Int32(a int32, list *[]int32) bool
- func Int64(a int64, list *[]int64) bool
- func IsIndexExists(index int, list interface{}) bool
- func String(a string, list *[]string) bool
- type IndexNotExistsError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIndex ¶ added in v0.0.90
func IsIndexExists ¶ added in v0.0.76
Types ¶
type IndexNotExistsError ¶ added in v0.0.79
type IndexNotExistsError struct {
Index int
}
func (*IndexNotExistsError) Error ¶ added in v0.0.79
func (e *IndexNotExistsError) Error() string
Click to show internal directories.
Click to hide internal directories.