]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: update bundle command
authorRuss Cox <rsc@golang.org>
Wed, 17 Feb 2016 15:41:03 +0000 (10:41 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 17 Feb 2016 18:23:46 +0000 (18:23 +0000)
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 <iant@golang.org>
Reviewed-by: Chris Broadfoot <cbro@golang.org>
src/net/http/h2_bundle.go

index d8be49c0de1c6fd5d40e8abc04c20b94e0ca1552..4e19b3e71f7d33ca7a9b5e3a594efd203931ae1e 100644 (file)
@@ -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.
 //