]> Cypherpunks repositories - gostls13.git/commitdiff
net/rpc: use html/template to render html
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 7 Jul 2014 23:57:07 +0000 (16:57 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 7 Jul 2014 23:57:07 +0000 (16:57 -0700)
Found using the vet check in CL 106370045.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/101670044

src/pkg/net/rpc/debug.go

index 926466d62551f551bda67f736ca90e2ab36dd7f4..98b2c1c6c4aba0a50bc0c60bf2bf78eed4a9ea0a 100644 (file)
@@ -11,9 +11,9 @@ package rpc
 
 import (
        "fmt"
+       "html/template"
        "net/http"
        "sort"
-       "text/template"
 )
 
 const debugText = `<html>