From 469ed93ba0ac3dfea5b977ed02c83a2ab8564bbe Mon Sep 17 00:00:00 2001
From: cya <2081215119@qq.com>
Date: Wed, 14 Aug 2024 16:22:19 +0800
Subject: [PATCH] feat: add RandFromGivenSlice function
---
docs/api/packages/random.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/api/packages/random.md b/docs/api/packages/random.md
index 9aefd6c6..c08ea148 100644
--- a/docs/api/packages/random.md
+++ b/docs/api/packages/random.md
@@ -81,7 +81,7 @@ func main() {
func RandInt(min, max int) int
```
-示例:[运行]()
+示例:[运行](https://go.dev/play/p/pXyyAAI5YxD)
```go
package main
@@ -133,7 +133,7 @@ func main() {
func RandFromGivenSlice[T any](slice []T) T
```
-示例:[运行](https://go.dev/play/p/29QfOh0DVuh)
+示例:[运行]()
```go
package main