Categorygithub.com/kinwyb/go
modulepackage
0.0.0-20220820011906-c3ec36b608b7
Repository: https://github.com/kinwyb/go.git
Documentation: pkg.go.dev

# README

go

个人golang常用工具包

996.icu

# Packages

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

# Functions

ChildOf.
FollowsFrom.
日期结束时间.
日期起始时间.
浮点数保留指定的位数 @value float64 要转换的浮点数值 @preciseDigits int 要保留的位数.
生成唯一数字ID.
生成数字ID带日期.
初始化redis,host=地址,password密码,db数据名称,maxidle最大有效连接数,active 最大可用连接数.
判断是否有中文.
验证是否是有效的邮箱.
验证是否为家庭电话.
验证是否有效的身份证号码.
验证是否是有效的手机号.
验证是否是时间字符串.
json数据.
爆露性能统计http接口.
新建一个圆形,p为圆形中心点.
初始化上下文.
初始化上下文.
初始化ETCD连接.
NewJSTemplate 深层JS模版引擎对象.
实例化毫秒15位一个ID生成器.
解析一个HTTP追踪请求.
新建一个追踪.
No description provided by the author
生成随机字符串,len字符串长度,onlynumber 是否只包含数字.
float32数组去除重复.
float64数组去除重复.
int32数组去除重复.
int64数组去除重复.
int数组去除重复.
字符串数组去重.
设置日志.
开启性能统计.
结束性能统计.
判断字符串类型的切片元素是否重复.
当前日期时间.
No description provided by the author

# Constants

时间格式.
时间格式.
时间格式.
No description provided by the author
No description provided by the author

# Variables

是否开启性能统计.
No description provided by the author
No description provided by the author
No description provided by the author
开启追踪.
No description provided by the author

# Structs

圆形 https://blog.golang.org/go-imagedraw-package.
上下文.
椭圆形.
No description provided by the author
JSTemplate JS模版引擎.
锁对象.
毫秒级15位ID生成器.
redis键值.
RedisUtil redis操作工具.
数据.

# Interfaces

No description provided by the author
追踪上下文.
No description provided by the author

# Type aliases

No description provided by the author