diff options
author | Andrey Mirtchovski <mirtchovski@gmail.com> | 2010-03-02 11:18:22 +1100 |
---|---|---|
committer | Andrey Mirtchovski <mirtchovski@gmail.com> | 2010-03-02 11:18:22 +1100 |
commit | a679e2e1191bf7fd68fc5a14fb9fa7161811a72e (patch) | |
tree | b45fd7a8410e0820c27f203dd754aea946033eaf /doc/effective_go.html | |
parent | a69483c91739ecd9f6079f38e9ad85fb0b7b794c (diff) | |
download | go-a679e2e1191bf7fd68fc5a14fb9fa7161811a72e.tar.gz |
strings.Bytes -> []byte for documentation example, src/pkg/* comments, and htmlgen.go
R=rsc, adg
CC=golang-dev
http://codereview.appspot.com/224087
Committer: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'doc/effective_go.html')
-rw-r--r-- | doc/effective_go.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html index 684f108de..728e07be1 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -2435,7 +2435,6 @@ import ( "http" "io" "log" - "strings" "template" ) @@ -2460,7 +2459,7 @@ func QR(c *http.Conn, req *http.Request) { } func UrlHtmlFormatter(w io.Writer, v interface{}, fmt string) { - template.HTMLEscape(w, strings.Bytes(http.URLEscape(v.(string)))) + template.HTMLEscape(w, []byte(http.URLEscape(v.(string)))) } |