time.Duration : int64, Nano Second
time.Duration(1,000) = Micro Second
time.Duration(1,000,000) = Milli Second
time.Duration(1,000,000,000) = Second
time.Second
time.Microsecond
time.Millisecond
time.Sleep(D duration)
time.Now()
'language, framework, library > golang' 카테고리의 다른 글
[Golang] sql (0) | 2019.08.21 |
---|---|
[Golang] 클로져, 람다 (0) | 2019.08.08 |
[Golang] 객체지향 (0) | 2019.08.05 |
[Golang] Discovery go 8장 리딩 (0) | 2019.07.31 |
[Golang] Handle, HandlerFunc 그리고 path (0) | 2019.07.24 |