소스 검색

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)
 }