Documentation ¶
Overview ¶
功能: 说明:
功能:定义 说明:
功能: 说明:
功能:字符串相关 说明:
功能:校验 说明: 特殊需求表达式 https://c.runoob.com/front-end/854/
Index ¶
- Constants
- func Is_contains[T byte | int | int32 | int64](all []T, element T) bool
- func Slice_insert[T byte | int](all []T, index int, data T) []T
- func String_reverse(str string) string
- func Verify_account(account string, min_len int, max_len int) (bool, error)
- func Verify_email(email string) bool
- func Verify_id(id string) bool
- func Verify_nickname(nickname string) bool
- func Verify_phone(phone string) bool
- func Verify_pwd(pwd string, min_len int, max_len int) (bool, error)
- type HandlerClose
Constants ¶
View Source
const ( POKER_X_STUDIO = "Poker X Studio" // DATE_FORMAT = "2006-01-02 15:04:05" //日期格式 SPACE = " " //空格 NEW_LINE = "\r\n" //换行符 LOG_FOLDER = "log" //日志目录 )
View Source
const ( WINDOWS = "windows" MAC = "darwin" LINUX = "linux" FREEBSD = "freebsd" )
Variables ¶
This section is empty.
Functions ¶
func Is_contains ¶
Is_contains 是否包含
func Verify_account ¶ added in v0.0.19
Verify_account 校验帐号
func Verify_nickname ¶ added in v0.0.19
Verify_nickname 校验昵称
Types ¶
Click to show internal directories.
Click to hide internal directories.