aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCuong Manh Le <cuong.manhle.vn@gmail.com>2023-08-08 12:58:33 +0700
committerGopher Robot <gobot@golang.org>2024-04-02 21:51:18 +0000
commitd08a957298c961a26436d3991028f68ff36cfbfc (patch)
tree38bab08b7ed6a1b009008f862f48f237ad8ec0b6 /doc
parent3d61f24835e477250c98da846206d573a907099c (diff)
downloadgo-d08a957298c961a26436d3991028f68ff36cfbfc.tar.gz
go-d08a957298c961a26436d3991028f68ff36cfbfc.zip
all: add reflect.SliceAt function
Fixes #61308 Change-Id: Ic17d737fda055a60779985d5da497745c80d5cfa Reviewed-on: https://go-review.googlesource.com/c/go/+/516597 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/next/6-stdlib/99-minor/reflect/61308.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/next/6-stdlib/99-minor/reflect/61308.md b/doc/next/6-stdlib/99-minor/reflect/61308.md
new file mode 100644
index 0000000000..e512e8ffb6
--- /dev/null
+++ b/doc/next/6-stdlib/99-minor/reflect/61308.md
@@ -0,0 +1,3 @@
+The [`SliceAt(typ Type, p unsafe.Pointer, len int)`](/pkg/reflect#SliceAt) function
+returns a Value representing a slice whose underlying array starts at p and whose
+length and capacity are len.