From: Russ Cox Date: Wed, 17 Feb 2016 15:41:03 +0000 (-0500) Subject: net/http: update bundle command X-Git-Tag: go1.6~1^2~1 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c4f902bef4c7edb9b051cec6c3da6690dc045203;p=gostls13.git net/http: update bundle command This is the bundle command's new usage and new output header, after CL 19428. Actually running this command would work but would bring in a newer x/net/http2 that we don't want yet. Change-Id: Ic6082ca00102a2df1f7632eebf9aca41fdcdb444 Reviewed-on: https://go-review.googlesource.com/19551 Reviewed-by: Ian Lance Taylor Reviewed-by: Chris Broadfoot --- diff --git a/src/net/http/h2_bundle.go b/src/net/http/h2_bundle.go index d8be49c0de..4e19b3e71f 100644 --- a/src/net/http/h2_bundle.go +++ b/src/net/http/h2_bundle.go @@ -1,5 +1,5 @@ -// Code generated by golang.org/x/tools/cmd/bundle command: -// $ bundle golang.org/x/net/http2 net/http http2 +// Code generated by golang.org/x/tools/cmd/bundle. +//go:generate bundle -o h2_bundle.go -prefix http2 -import golang.org/x/net/http2/hpack=internal/golang.org/x/net/http2/hpack golang.org/x/net/http2 // Package http2 implements the HTTP/2 protocol. //