Sign in
go
/
website
/
e83dd89d78009611db24cfb2ef63be8cb10f5e2a
/
.
/
_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
}