utils

package
v0.0.0-...-67c09b2 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TextBlack = iota + 30
	TextRed
	TextGreen
	TextYellow
	TextBlue
	TextMagenta
	TextCyan
	TextWhite
)

Variables

This section is empty.

Functions

func Black

func Black(str string) string

func Blue

func Blue(str string) string

func Cyan

func Cyan(str string) string

func Green

func Green(str string) string

func Is400

func Is400(str string) bool

func IsChineseCharacter

func IsChineseCharacter(str string) bool

func IsEmail

func IsEmail(str string) bool

func IsFloat

func IsFloat(str string) bool

func IsHMS

func IsHMS(str string) bool

func IsHMS_APM

func IsHMS_APM(str string) bool

func IsIP

func IsIP(str string) bool

func IsNumber

func IsNumber(str string) bool

func IsNumber_M_N

func IsNumber_M_N(str string, m, n int) bool

func IsPhone

func IsPhone(str string) bool

func IsSpecialSymbols

func IsSpecialSymbols(str string) bool

func IsTelephone

func IsTelephone(str string) bool

func IsWindows

func IsWindows() bool

func IsYMD

func IsYMD(str string) bool

func IsYMDHMS

func IsYMDHMS(str string) bool

func Magenta

func Magenta(str string) string

func Red

func Red(str string) string

func White

func White(str string) string

func Yellow

func Yellow(str string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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