Documentation
¶
Index ¶
- Constants
- func HasIndex(indexes []int, currentIndex int) bool
- func HasIndexPlusRemoveIndex(indexes []int, currentIndex int) bool
- func IsInvalidIndex(index int) bool
- func IsWithinIndexRange(index, length int) bool
- func LastIndex(length int) int
- func Of(indexes []int, currentIndex int) int
- func SafeEndingIndex(length, lastTakingIndex int) int
Constants ¶
View Source
const ( First = 0 Second = 1 Third = 2 Fourth = 3 Fifth = 4 Sixth = 5 Seventh = 6 Eighth = 7 Ninth = 8 Tenth = 9 I0 = 0 I1 = 1 I2 = 2 I3 = 3 I4 = 4 I5 = 5 I6 = 6 I7 = 7 I8 = 8 I9 = 9 I10 = 10 I11 = 11 I12 = 12 I13 = 13 I14 = 14 I15 = 15 I16 = 16 I17 = 17 I18 = 18 I19 = 19 I20 = 20 )
Variables ¶
This section is empty.
Functions ¶
func HasIndexPlusRemoveIndex ¶ added in v0.2.0
func IsInvalidIndex ¶ added in v1.1.0
func IsWithinIndexRange ¶ added in v0.9.8
func SafeEndingIndex ¶ added in v0.8.5
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.