validation

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputValidator

type InputValidator func(string) bool

InputValidator defines a function used to validate a user input string

func MakeInputValidatorChain

func MakeInputValidatorChain(validators ...InputValidator) InputValidator

MakeInputValidatorChain can wrap N InputValidator objects into a single InputValidator; Logical AND

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳