doc: add play ground demo

This commit is contained in:
dudaodong committed 2024-07-18 11:34:16 +08:00
1 parent 73fb8fefd2
commit 4af074d181
11 files changed
+28 -19

No files matched your search

+1 -1
View File
@@ -1513,7 +1513,7 @@ func main() {
func GetOrSet[K comparable, V any](m map[K]V, key K, value V) V
```
<b>Example:<span style="float:right;display:inline-block;"></span></b>
<b>Example:<span style="float:right;display:inline-block;">[Run](https://go.dev/play/p/IVQwO1OkEJC)</span></b>
```go
package main