validation

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: BSD-2-Clause Imports: 4 Imported by: 0

README

Input validation utilities

Todo:

  • Add example to readme
  • Add unit tests

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(errmsg string, checks ...bool) error

func CheckAll

func CheckAll(errs ...error) error

func CheckEmailAddress added in v0.0.2

func CheckEmailAddress(in string) error

func CheckStringLength added in v0.0.2

func CheckStringLength(name, in string, min, max int) error

func IsEmailAddr added in v0.0.2

func IsEmailAddr(in string) bool

Types

This section is empty.

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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