renaming_1: hand-edited files for go 1 renaming
This contains the files that required handiwork, mostly
Makefiles with updated TARGs, plus the two packages
with modified package names.
html/template/doc.go needs a separate edit pass.
test/fixedbugs/bug358.go is not legal go so gofix fails on it.
R=rsc
CC=golang-dev
https://golang.org/cl/5340050
diff --git a/doc/effective_go.html b/doc/effective_go.html
index a58989a..41c7206 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -1996,7 +1996,7 @@
<code>http.ResponseWriter</code>.)
For reference, here's how to attach such a server to a node on the URL tree.
<pre>
-import "http"
+import "net/http"
...
ctr := new(Counter)
http.Handle("/counter", ctr)
@@ -2925,12 +2925,13 @@
import (
"flag"
- "http"
"log"
- "template"
+ "net/http"
+ "text/template"
)
-var addr = flag.String("addr", ":1718", "http service address") // Q=17, R=18
+var // Q=17, R=18
+addr = flag.String("addr", ":1718", "http service address")
var templ = template.Must(template.New("qr").Parse(templateStr))