doc: add go playground demo

This commit is contained in:
dudaodong committed 2024-03-06 15:28:55 +08:00
1 parent 1b31014f81
commit a6eaaef563
11 files changed
+127 -26

No files matched your search

+1 -1
View File
@@ -2581,7 +2581,7 @@ func main() {
func SetToDefaultIf[T any](slice []T, predicate func(T) bool) ([]T, int)
```
<b>示例:</b>
<b>示例:<span style="float:right;display:inline-block;">[运行](https://go.dev/play/p/9AXGlPRC0-A)</span></b>
```go
import (