]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: document zero value of Protocols
authorDamien Neil <dneil@google.com>
Wed, 11 Dec 2024 17:49:36 +0000 (09:49 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 11 Dec 2024 20:15:29 +0000 (12:15 -0800)
For #67814

Change-Id: I182e9c7e720493adb9d2384336e757dace818525
Reviewed-on: https://go-review.googlesource.com/c/go/+/635335
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Austin Clements <austin@google.com>
src/net/http/http.go

index 4da77889b1a341c82f9fcb08250e32f2eb25ab34..32ff7e2008a84595a8c02713619982044d6794e9 100644 (file)
@@ -17,6 +17,7 @@ import (
 )
 
 // Protocols is a set of HTTP protocols.
+// The zero value is an empty set of protocols.
 //
 // The supported protocols are:
 //