Documentation ¶
Overview ¶
Package helpers 存放辅助方法
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstElement ¶
FirstElement 安全地获取 args[0],避免 panic: runtime error: index out of range
func MicrosecondsStr ¶
MicrosecondsStr 将 time.Duration 类型(nano seconds 为单位) 输出为小数点后 3 位的 ms (microsecond 毫秒,千分之一秒)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.