* test: remove limit. * test: skip btln.go * test: adds tests on errors. * feat: add missing output results. * refactor: time's tests.
16 lines
204 B
Go
16 lines
204 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
t := time.Date(2009, time.November, 10, 23, 4, 5, 0, time.UTC)
|
|
m := t.Minute()
|
|
fmt.Println(t, m)
|
|
}
|
|
|
|
// Output:
|
|
// 2009-11-10 23:04:05 +0000 UTC 4
|