1
0
mirror of https://github.com/golang/go synced 2024-11-15 03:10:22 -07:00
go/doc/next
Matt Layher f6c3a3e3c8 slices: add Chunk
Chunk returns an iterator over consecutive sub-slices of up to n elements of s.

Fixes #53987.

Change-Id: I508274eca388db39550eb9e4d8abd5ce68d29d8d
Reviewed-on: https://go-review.googlesource.com/c/go/+/562935
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2024-05-10 17:28:50 +00:00
..
6-stdlib slices: add Chunk 2024-05-10 17:28:50 +00:00
1-intro.md
2-language.md
3-tools.md cmd/vet: add stdversion analyzer 2024-05-03 01:02:40 +00:00
4-runtime.md runtime: properly frame panic values in tracebacks 2024-05-08 19:10:41 +00:00
5-toolchain.md cmd/go: use cache for PGO preprocessing 2024-04-18 15:39:17 +00:00
7-ports.md misc/wasm: drop wasmtime < 14 support 2024-04-11 17:09:10 +00:00