diff --git a/doc/effective_go.html b/doc/effective_go.html index 3203a31dfa..984533706c 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -2357,7 +2357,7 @@ go list.Sort() // run list.Sort in parallel; don't wait for it.
A function literal can be handy in a goroutine invocation.
-func Announce(message string, delay int64) {
+func Announce(message string, delay time.Duration) {
go func() {
time.Sleep(delay)
fmt.Println(message)