From: Ian Lance Taylor Date: Tue, 30 May 2023 22:31:39 +0000 (-0700) Subject: doc/go1.21: mention that embedded files implement ReadAt X-Git-Tag: go1.21rc1~164 X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;h=30f8d5b69d5bca46f5348ea29dc898ed472bd204;p=gostls13.git doc/go1.21: mention that embedded files implement ReadAt For #57803 Change-Id: I8e33f4dd3fc3071bfbf4d2848faefbe8488f5742 Reviewed-on: https://go-review.googlesource.com/c/go/+/499418 TryBot-Bypass: Ian Lance Taylor Reviewed-by: Eli Bendersky Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- diff --git a/doc/go1.21.html b/doc/go1.21.html index a30811794c..c44f425930 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -462,12 +462,12 @@ Do not send CLs removing the interior tags from such phrases.
embed
-

- TODO: https://go.dev/issue/57803: openFile should implement ReaderAt -

- -

- TODO: https://go.dev/cl/483235: embed: implement openFile.ReadAt +

+ The io/fs.File + returned by + FS.Open now + has a ReadAt method that + implements io.ReaderAt.