Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomNoEmptyValidate ¶
func CustomNoEmptyValidate()
The Go Playground Validator package does not have a validation tag that directly checks whether slices are empty. In the case of slices, this tag checks if the slice itself exists, but does not check if the contents of the slice are empty. We have written a special validation function to check if slices are empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.