From 47c368e8f2a97c1b363459aa96ed1b4a4f7815dc Mon Sep 17 00:00:00 2001 From: dudaodong Date: Mon, 28 Aug 2023 16:41:36 +0800 Subject: [PATCH] doc: update doc for slice retry random package --- docs/en/api/packages/slice.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/api/packages/slice.md b/docs/en/api/packages/slice.md index 4a31f44..750e994 100644 --- a/docs/en/api/packages/slice.md +++ b/docs/en/api/packages/slice.md @@ -108,7 +108,7 @@ import ( func AppendIfAbsent[T comparable](slice []T, item T) []T ``` -Example:[Run](https://go.dev/play/p/xnAOOXv9GkS) +Example:[Run](https://go.dev/play/p/GNdv7Jg2Taj) ```go import ( @@ -139,7 +139,7 @@ func main() { func Contain[T comparable](slice []T, target T) bool ``` -Example:[Run](https://go.dev/play/p/xnAOOXv9GkS) +Example:[Run](https://go.dev/play/p/_454yEHcNjf) ```go import ( @@ -170,7 +170,7 @@ func main() { func ContainBy[T any](slice []T, predicate func(item T) bool) bool ``` -Example:[Run](https://go.dev/play/p/xnAOOXv9GkS) +Example:[Run](https://go.dev/play/p/49tkHfX4GNc) ```go import (