From d08a957298c961a26436d3991028f68ff36cfbfc Mon Sep 17 00:00:00 2001 From: Cuong Manh Le Date: Tue, 8 Aug 2023 12:58:33 +0700 Subject: 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 Auto-Submit: Cuong Manh Le Reviewed-by: Ian Lance Taylor Reviewed-by: Than McIntosh --- doc/next/6-stdlib/99-minor/reflect/61308.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/next/6-stdlib/99-minor/reflect/61308.md (limited to 'doc') 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. -- cgit v1.2.3-54-g00ecf