Documentation ¶
Index ¶
- func CanUpdate(t time.Time) bool
- func CanUpdateTime() time.Time
- func DateZero(t time.Time) time.Time
- func DifferDays(t1, t2 time.Time) int
- func GOMAXPROCS(n ...int)
- func InitTag(t reflect.Type, tagName string) map[int]string
- func KLineRequireDays(currentDate, lastDay time.Time) int
- func NextUpdateTime(t time.Time) time.Time
- func ParseTime(timestr string) (time.Time, error)
- func UnixTime(timestamp int64) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DifferDays ¶ added in v0.7.9
DifferDays 计算天数差 从 t1 回到 t2 需要多少天
func GOMAXPROCS ¶ added in v1.2.9
func GOMAXPROCS(n ...int)
func KLineRequireDays ¶ added in v0.7.9
func NextUpdateTime ¶ added in v0.7.9
NextUpdateTime 下一个可以更新的日期
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.