# README
Copyright (c) 2020
# Functions
AssembleTwoMapString add map2 to map1 map[string]string.
Base64Dec base64 解码.
Base64Enc base64编码.
No description provided by the author
No description provided by the author
No description provided by the author
ContainsBool checks if the slice has the contains value in it.
ContainsComplex128 checks if the slice has the contains value in it.
ContainsComplex64 checks if the slice has the contains value in it.
ContainsFloat32 checks if the slice has the contains value in it.
ContainsFloat64 checks if the slice has the contains value in it.
ContainsInt checks if the slice has the contains value in it.
ContainsInt16 checks if the slice has the contains value in it.
ContainsInt32 checks if the slice has the contains value in it.
ContainsInt64 checks if the slice has the contains value in it.
ContainsInt8 checks if the slice has the contains value in it.
ContainsObject checks if the slice has the contains value in it.
ContainsString checks if the slice has the contains value in it.
ContainsUInt checks if the slice has the contains value in it.
ContainsUInt16 checks if the slice has the contains value in it.
ContainsUInt32 checks if the slice has the contains value in it.
ContainsUInt64 checks if the slice has the contains value in it.
ContainsUInt8 checks if the slice has the contains value in it.
CreateDir 创建文件夹.
Decrypt.
DeleteFile 删除文件.
DirExist 判断文件夹是否存在.
Encrypt.
Fields returns a slice of *Field.
FileExist 判断文件是否存在.
FillMap is the same as Map.
Generate is the package shortcut for Generator.Generate.
GenerateUUID uuid.
GetFileMD5String 获取文件md5值.
GetFileSize 获取文件大小.
GetParamRegionInt intget param when in a GetParamRegion threshold region ,when the param is bigger than threshold bigger one or smaller than threshold smaller oneset param on thresholdparam need checkdefaultValue when param is zero,set param = defaultValuemax,min : threshold.
GetParamRegionUint uint.
GetParamRegionUint64 uint64.
No description provided by the author
HasZero returns true if any field is equal to a zero value.
IsStruct returns true if the given variable is a struct or a pointer to struct.
IsZero returns true if all fields is equal to a zero value.
No description provided by the author
Map converts the given struct to a map[string]interface{}.
MustGenerate is the package shortcut for Generator.MustGenerate.
Name returns the structs's type name within its package.
Names returns a slice of field names.
New returns a new *Struct with the struct s.
No description provided by the author
ParseNow2Timestamp now -> 1136185506.
ParseNowStandardDateTime now --> 2006-01-02 15:05:06.
ParseStandardDateTime 2006-01-02 15:05:06.
ParseString2Timestamp 2006-01-02 15:05:06 -> 1136185506.
1136185506 -> 2006-01-02 15:05:06.
"1136185506" -> 2006-01-02 15:05:06.
RandInt random a number.
.
RandomString returns a random string with a fixed length.
RasPubEnc 公钥加密.
RsaPubDec 公钥解密.
StringParse tries to create a native object from the given string, or just returns the string if nothing takes.
No description provided by the author
Values converts the given struct to a []interface{}.
# Constants
Digits is the list of permitted digits.
LowerLetters is the list of lowercase letters.
Symbols is the list of symbols.
UpperLetters is the list of uppercase letters.
# Variables
struct's field default tag name.
ErrDigitsExceedsAvailable is the error returned with the number of digits exceeds the number of available digits and repeats are not allowed.
ErrExceedsTotalLength is the error returned with the number of digits and symbols is greater than the total length.
ErrLettersExceedsAvailable is the error returned with the number of letters exceeds the number of available letters and repeats are not allowed.
ErrSymbolsExceedsAvailable is the error returned with the number of symbols exceeds the number of available symbols and repeats are not allowed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author