mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
html: Use existing standard library interface internally.
Now that Go 1.1 is out, commit 3651a440a7
can be reverted.
Change-Id: I7ac8478aafaa5067630e99cec9eca59792107892
Reviewed-on: https://go-review.googlesource.com/11612
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
8bfde94a84
commit
edab5dc413
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user