Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTime ¶
func DefaultTime()
func FloatToString ¶
*
- @description: float 转字符串
- @param {float64} f
- @param {int} prec -1 保留全部的精度
- @return {*}
func SetDefaultPrecision ¶
func SetDefaultPrecision(prec int)
*
- @description: 设置默认的精度
- @param {int} prec
- @return {*}
func SetDefaultTimeFormat ¶
func SetDefaultTimeFormat(fmt string)
*
- @description: 设置默认的时间格式
- @param {string} fmt
- @return {*}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.