valid

package
v0.0.0-...-11a4950 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsChineseText

func IsChineseText(str string) bool

IsChineseText 是否全部由中文汉字组成

func IsEmail

func IsEmail(s string) bool

IsEmail 判断是否是邮箱

func IsEmpty

func IsEmpty(s string) bool

IsEmpty 是否字符串为空

func IsInt

func IsInt(v string) bool

IsInt 是否是整数数字

func IsNumber

func IsNumber(v string) bool

IsNumber 是否是数字(包括浮点)

func IsRegex

func IsRegex(pattern string, value string) bool

IsRegex 正则判断

Types

This section is empty.

Jump to

Keyboard shortcuts

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