package
0.0.0-20230523033751-fc17aaae78a7
Repository: https://github.com/leaf-rain/util.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
驼峰式写法转为下划线写法.
************************************** 其他方法 ***************************************/.
下划线写法转为驼峰写法.
ClickLoginPwdStr 校验密码 ss 用户输入密码 str 数据库用户密码.
No description provided by the author
No description provided by the author
GenUUID 生成 UUID.
No description provided by the author
No description provided by the author
获取当前天n天钱0点时间戳和当天24点时间戳, 传0即为当前天的0点和24点.
No description provided by the author
获取传入的时间所在月份的第一天,即某月第一天的0点。如传入time.Now(), 返回当前月份的第一天0点时间。.
获取本周周一时间.
获取传入的时间所在月份的最后一天,即某月最后一天的0点。如传入time.Now(), 返回当前月份的最后一天0点时间。.
No description provided by the author
返回一个32位md5加密后的字符串.
No description provided by the author
No description provided by the author
获取当前天的0点和24点.
获取t月第一天0点时间戳和本周最后一天24点时间戳.
获取t周第一天0点时间戳和本周最后一天24点时间戳.
No description provided by the author
No description provided by the author
获取某一天的0点时间.
获取当天0点.
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
初始化一个BitMap一个byte有8位,可代表8个数字,取余后加1为存放最大数所需的容量.
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
元素去重.
通过两重循环过滤重复元素.
通过map主键唯一的特性过滤重复元素.
通过map键的唯一性去重.
返回第一列表不包含第二个列表内容.
SetMachineID is 设置机器ID.
取2位精度并转换成int64.
No description provided by the author
首字母大写.
No description provided by the author
No description provided by the author
判断时间是当年的第几周.
# Variables
Epoch 2021年3月3号0:00时刻的毫秒级时间戳.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
位图.
内嵌bytes.Buffer,支持连写.
本例为最大堆 最小堆只需要修改less函数即可.
No description provided by the author
************************************** 驼峰json ***************************************/.
************************************** 下划线json ***************************************/.
No description provided by the author
# Type aliases
No description provided by the author