mirror of
https://github.com/golang/go
synced 2024-11-24 07:00:13 -07: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:
parent
2cb61aa3f7
commit
7e10a2f6f3
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user