瀏覽代碼

html: Use existing standard library interface internally.

Now that Go 1.1 is out, commit 3651a440a70063fcb7028c5f214b0ffb20b3770d
can be reverted.

Change-Id: I7ac8478aafaa5067630e99cec9eca59792107892
Reviewed-on: https://go-review.googlesource.com/11612
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Dmitri Shuralyov 10 年之前
父節點
當前提交
edab5dc413
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      html/render.go

+ 1 - 1
html/render.go

@@ -14,7 +14,7 @@ import (
 
 type writer interface {
 	io.Writer
-	WriteByte(c byte) error // in Go 1.1, use io.ByteWriter
+	io.ByteWriter
 	WriteString(string) (int, error)
 }