Documentation
¶
Overview ¶
Package validate checks that scratchpad entry indexes are within valid bounds.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateIndex ¶
ValidateIndex checks that n is a valid 1-based index into entries.
Parameters:
- n: 1-based entry index
- entries: The entries to validate against
Returns:
- error: Non-nil if n is out of range
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.