validation

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 8 Imported by: 0

README

Sphire Mantis::Validation

The Validation package of Mantis provides helper functions for validation of data

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainLetter

func ContainLetter(str string) bool

func ContainLower

func ContainLower(str string) bool

func ContainUpper

func ContainUpper(str string) bool

func ContainsChinese

func ContainsChinese(str string) bool

func IsAllLower

func IsAllLower(str string) bool

func IsAllUpper

func IsAllUpper(str string) bool

func IsAlpha

func IsAlpha(str string) bool

func IsBase64

func IsBase64(str string) bool

func IsCreditCard

func IsCreditCard(str string) bool

func IsDns

func IsDns(str string) bool

func IsEmail

func IsEmail(str string) bool

func IsEmptyString

func IsEmptyString(str string) bool

func IsFloatStr

func IsFloatStr(str string) bool

func IsIntStr

func IsIntStr(str string) bool

func IsIp

func IsIp(str string) bool

func IsIpV4

func IsIpV4(str string) bool

func IsIpV6

func IsIpV6(str string) bool

func IsJSON

func IsJSON(str string) bool

func IsNumberStr

func IsNumberStr(str string) bool

func IsPort

func IsPort(str string) bool

func IsRegexMatch

func IsRegexMatch(str string, regex string) bool

func IsStrongPassword

func IsStrongPassword(str string, length int) (bool, int)

func IsUrl

func IsUrl(str string) bool

func IsWeakPassword

func IsWeakPassword(str string) bool

func IsZeroValue

func IsZeroValue(value interface{}) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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