1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-09 23:22:28 +08:00

doc: add play ground demo

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

View File

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