1
0
gotour-notes/duration-test/go.go
2012-09-03 08:49:11 -06:00

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)
}