Skip to content

Commit d5c1333

Browse files
neildgopherbot
authored andcommitted
net/http: document zero value of Protocols
For #67814 Change-Id: I182e9c7e720493adb9d2384336e757dace818525 Reviewed-on: https://go-review.googlesource.com/c/go/+/635335 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Damien Neil <[email protected]> Reviewed-by: Austin Clements <[email protected]>
1 parent a7c4cad commit d5c1333

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/net/http/http.go

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import (
1717
)
1818

1919
// Protocols is a set of HTTP protocols.
20+
// The zero value is an empty set of protocols.
2021
//
2122
// The supported protocols are:
2223
//

0 commit comments

Comments
 (0)