Sign in
go
/
website
/
fc3ac592e3b71d78c1a37e4d0a60c449b5b6e110
/
.
/
_content
/
talks
/
2012
/
simple
/
time.go
blob: c73963fd1894e040e240a80091598ab12aeb8fe8 [
file
] [
log
] [
blame
]
// +build ignore,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
}