diff options
| author | Russ Cox <rsc@golang.org> | 2021-06-17 17:13:40 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2021-06-18 01:31:37 +0000 |
| commit | 06fdb770f723cf562f31a737e2ba78d438a15415 (patch) | |
| tree | ef0996d0e317114cdc49a648b50db838c3c393fd /_content/doc/tutorial/call-module-code.html | |
| parent | a2b5f4911c18440691b52ce980740adc4a28f279 (diff) | |
| download | go-x-website-06fdb770f723cf562f31a737e2ba78d438a15415.tar.xz | |
cmd/golangorg: make zip contents seekable
https://golang.org/misc/cgo/stdio/testdata/fib.go fails right now
because the http.FileServer wants to use Seek to find out the file size.
Make that work by introducing an FS wrapper that enables seeking
in an in-memory copy of the file content.
Fixes golang/go#46809.
Change-Id: I353905310dc74594e54e0181dc821a97992b8da7
Reviewed-on: https://go-review.googlesource.com/c/website/+/329249
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Russ Cox <rsc@golang.org>
Diffstat (limited to '_content/doc/tutorial/call-module-code.html')
0 files changed, 0 insertions, 0 deletions
