1
0
mirror of https://github.com/golang/go synced 2024-09-30 02:14:29 -06:00

net/http: net/http: doc that prefer "must" over "should"

See https://go-review.googlesource.com/c/go/+/59850

Change-Id: I9f0b6bc009eae86cbbdb56562ee4eb8d5eef653e
Reviewed-on: https://go-review.googlesource.com/61230
Reviewed-by: Tom Bergan <tombergan@google.com>
This commit is contained in:
Kunpei Sakai 2017-09-03 18:18:51 +09:00 committed by Tom Bergan
parent 2cb61aa3f7
commit 7e10a2f6f3

View File

@ -179,7 +179,7 @@ type Hijacker interface {
// The returned bufio.Reader may contain unprocessed buffered
// data from the client.
//
// After a call to Hijack, the original Request.Body should
// After a call to Hijack, the original Request.Body must
// not be used.
Hijack() (net.Conn, *bufio.ReadWriter, error)
}