assert

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotNil

func NotNil(values ...any) error

NotNil checks given value if it is not nil

func StringLength

func StringLength(value string, minLength int, maxLength int, allowedValues *[]string) error

StringLength checks a string for the given min and max length

func StringNotEmpty

func StringNotEmpty(value string) error

StringNotEmpty checks if given string is not empty

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL