From f94d82b2c03c756f1d8893dc0282e9608e7d32a1 Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Fri, 15 Mar 2024 13:47:53 +0800 Subject: slices: add func Repeat Fixes #65238 Change-Id: I32ae4d922788cc6fbbe80f5b558a075951e3c892 Reviewed-on: https://go-review.googlesource.com/c/go/+/571895 Reviewed-by: David Chase Reviewed-by: Keith Randall Reviewed-by: Keith Randall LUCI-TryBot-Result: Go LUCI --- doc/next/6-stdlib/99-minor/slices/65238.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 doc/next/6-stdlib/99-minor/slices/65238.md (limited to 'doc') diff --git a/doc/next/6-stdlib/99-minor/slices/65238.md b/doc/next/6-stdlib/99-minor/slices/65238.md new file mode 100644 index 0000000000..9204eb58a9 --- /dev/null +++ b/doc/next/6-stdlib/99-minor/slices/65238.md @@ -0,0 +1,2 @@ +The [`Repeat`](/pkg/slices#Repeat) function returns a new slice +that repeats the provided slice the given number of times. -- cgit v1.2.3-54-g00ecf