Documentation
¶
Overview ¶
Package validators contains the validation functions for the application. these specificially relate to the prompts/questions asked to the user and validating the user input.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtleastOne ¶
AtleastOne validates that atleast one selection is required.
func NotZero ¶
func NotZero[T comparable](v T) error
NotZero validates that the value is not zero. It returns an error if the value is zero.
Types ¶
Click to show internal directories.
Click to hide internal directories.