golang的time包

##########################

 

纳秒级别时间:

 

const (
    Nanosecond  Duration = 1
    Microsecond          = 1000 * Nanosecond
    Millisecond          = 1000 * Microsecond
    Second               = 1000 * Millisecond
    Minute               = 60 * Second
    Hour                 = 60 * Minute
)

Nanosecond  纳秒:1
Microsecond 微妙:1微妙=1000纳秒
Millisecond 毫秒:1毫秒=1000微妙
Second  秒:1秒=1000毫秒
 
 

 

 

 

 

 

 

 

 

 

 

########################

posted @ 2021-04-19 11:06  igoodful  阅读(49)  评论(0编辑  收藏  举报