package
module
Version:
v0.0.0-...-6331e32
Opens a new window with list of versions in this module.
Published: Jul 22, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
README
¶
sliceutil: slice manipulation helpers
Collection of various functions to work on slices.

Documentation
¶
func Has(s, v interface{}) bool
Has checks whether a given value is present in a slice or not.
func IndexOf(s, v interface{}) int
IndexOf returns the index of a given value in a slice, or -1 if not found
func Reverse(s interface{})
Reverse reverses the items order in a slice.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.