From: Josh Bleecher Snyder Date: Mon, 7 Jul 2014 23:57:07 +0000 (-0700) Subject: net/rpc: use html/template to render html X-Git-Tag: go1.4beta1~1158 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ccb99122b137a529a8306ee81014534b28127be6;p=gostls13.git net/rpc: use html/template to render html Found using the vet check in CL 106370045. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/101670044 --- diff --git a/src/pkg/net/rpc/debug.go b/src/pkg/net/rpc/debug.go index 926466d625..98b2c1c6c4 100644 --- a/src/pkg/net/rpc/debug.go +++ b/src/pkg/net/rpc/debug.go @@ -11,9 +11,9 @@ package rpc import ( "fmt" + "html/template" "net/http" "sort" - "text/template" ) const debugText = `