# README
golang common tools
tag
- add tag
# git tag v1.0.0
# git push origin v1.0.0
- delete tag
git tag -d <tag_name>
git push origin :refs/tags/<tag_name>
# Functions
CommandDefault 标准命令行.
CommandWithPipeline 带管道的命令行语句.
Contains checks if a string is present in a slice.
No description provided by the author
CustomUnitGi 转换 cpu/memory 到 uint.
CustomUnitGiInter 转换 任意类型 到 float64.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MergeJSONMaps 合并多个map.
MergeJSONMapsV2 合并多个map.
No description provided by the author
No description provided by the author
No description provided by the author
Now 获取当前日期.
No description provided by the author
ParseMilliTimestamp 毫秒转日期.
No description provided by the author
No description provided by the author
RuntimeAge 获取Pod运行时长.
SetTrimSpace 删除 slice 中的空元素 和 重复的元素.
SliceTrimSpace 删除 slice 中的空元素.
SplitEmail 郑彦生([email protected]).
SubTime 获取时间差.
SubTimeInterval 求2个时间差.
SubTimeSeconds 获取时间秒数.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author