package
Version:
v0.0.0-...-e964040
Opens a new window with list of versions in this module.
Published: Jul 28, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
DefaultLayout = "2006-01-02 15:04:05"
)
func NowTimestamp() int64
NowTimestamp 当前毫秒时间戳
TimestampParse 时间格式化字符串转毫秒时间戳
Shrink will decrease the duration by comparing with context's timeout duration
and return new timeout\context\CancelFunc.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.