From 6be0bdf7bc64037ef45b622123ec3276f6c0618e Mon Sep 17 00:00:00 2001
From: Ben Lynn
Date: Tue, 21 Jun 2011 10:55:07 +1000
Subject: [PATCH] Effective Go: supplied missing type in variadic function
example.
R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/4595055
---
doc/effective_go.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/effective_go.html b/doc/effective_go.html
index 9a674c72bf..2ecef44f41 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -2245,7 +2245,7 @@ we would write job.Logger
.
This would be useful if we wanted to refine the methods of Logger
.
-func (job *Job) Logf(format string, args ...) {
+func (job *Job) Logf(format string, args ...interface{}) {
job.Logger.Logf("%q: %s", job.Command, fmt.Sprintf(format, args))
}