Documentation ¶
Overview ¶
Package slice supplies some assistant functions about slice.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InSlice ¶
func InSlice(v interface{}, vs []interface{}) bool
InSlice reports whether v is in vs.
func ReverseStrings ¶
func ReverseStrings(ss []string)
ReverseStrings reverses the elements in the strings slice.
func StringsEqual ¶
StringsEqual reports whether the two strings is equal.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.