15 lines
197 B
Go
15 lines
197 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
var t time.Duration
|
|
t = time.Millisecond
|
|
fmt.Printf("%T %v\n", t, t)
|
|
t = 3723 * time.Second
|
|
fmt.Printf("%T %v\n", t, t)
|
|
}
|