package
0.0.0-20241209051936-7a7551ee7244
Repository: https://github.com/firma/framework-common.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
生日日期格式效验.
No description provided by the author
CheckMobile 检验手机号.
No description provided by the author
No description provided by the author
省份号码效验.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DecodeInviteCode 邀请码转化为用户id.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
是否为空字符串.
EncodeInviteCode 将用户id转化为6位固定邀请码.
No description provided by the author
字符串是否相同.
No description provided by the author
No description provided by the author
No description provided by the author
GBK 转 UTF-8.
解密字符串.
加密字符串.
No description provided by the author
GenerateID 生成分布式id.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
生成RSA私钥和公钥字符串 bits 证书大小 @return privateKeyStr publicKeyStr error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
生成32位md5字串.
得到身份证号码,生日, 性别, 省份地址信息.
No description provided by the author
No description provided by the author
No description provided by the author
GetDistance 返回单位为:米.
No description provided by the author
No description provided by the author
No description provided by the author
生成指定长度的随机字符串.
No description provided by the author
@params today 获取日期 2023-12-12.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IdToActivateCode 生成一定长度的激活码.
IdToPromoCode 生成一定长度的优惠吗.
No description provided by the author
No description provided by the author
No description provided by the author
InviteCodeToUserId 邀请码转化为用户id.
IsExists 文件是否存在.
No description provided by the author
No description provided by the author
效验有效地身份证号码.
效验18位身份证.
字符串长度.
levenshtein() costIns: Defines the cost of insertion.
No description provided by the author
No description provided by the author
No description provided by the author
NewReadLineFromEnd 从末尾读取文件内容.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PKCS7 填充模式.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RootPath 获取项目根目录绝对路径.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
similar_text().
No description provided by the author
SnowflakeInit 雪花算法工具初始化 param: 机器节点(用于生成分布式id).
stack returns a nicely formatted stack frame, skipping skip frames.
No description provided by the author
No description provided by the author
子串.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UserIdToInviteCode 根据 userId 得到用户的邀请码.
UTF-8 转 GBK.
email verify.
mobile verify.
# Constants
ActivateCodeBase 生成激活码的所有字符.
ActivateCodeSuffixChar 激活码第二位:分隔用字符.
BinLen 进制.
InviteCodeBase 生成邀请码的所有字符.
InviteCodeSuffixChar 邀请码第二位:分隔用字符.
PromoCodeBase 生成优惠吗的所有字符.
PromoCodeSuffixChar 优惠码第二位:分隔用字符.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
ReadLineFromEnd --.
No description provided by the author