Documentation
¶
Overview ¶
Package list provides functions for working with lists.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsIndexValid ¶
IsIndexValid checks if the index is valid within the slice based on the given index and length.
func ParseCount ¶
ParseCount function returns the count of elements based on the provided length and counts
func ParseIndex ¶
ParseIndex returns the valid index within the slice based on the given index and length.
func SearchCount ¶
SearchCount function returns the count of elements for searching based on the provided length and counts
func SliceIndex ¶
SliceIndex returns the valid index within the slice based on the given index, length, and accessibility flag.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.