Sign in
go
/
talks
/
ae1ecbdc88ea122fab85ba81f6db0c711b64e0a9
/
.
/
2012
/
simple
/
time.go
blob: e4f33b9ead8d00bc18d2b88912051b18cf2be97a [
file
] [
log
] [
blame
]
// +build OMIT
package main
import (
"fmt"
"time"
)
func main() {
// START OMIT
if time.Now().Hour() < 12 {
fmt.Println("Good morning.")
} else {
fmt.Println("Good afternoon (or evening).")
}
// END OMIT
}