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

add playground demo

This commit is contained in:
dudaodong
2024-02-01 10:41:09 +08:00
parent 6d4fc981b6
commit fa298b740d
8 changed files with 21 additions and 18 deletions

View File

@@ -525,7 +525,7 @@ func main() {
func DeleteAt[T any](slice []T, index int) []T
```
<b>示例:<span style="float:right;display:inline-block;">[运行](https://go.dev/play/p/pJ-d6MUWcvK)</span></b>
<b>示例:<span style="float:right;display:inline-block;">[运行](https://go.dev/play/p/800B1dPBYyd)</span></b>
```go
import (
@@ -565,7 +565,7 @@ func main() {
func DeleteRange[T any](slice []T, start, end int) []T
```
<b>示例:</b>
<b>示例:<span style="float:right;display:inline-block;">[运行](https://go.dev/play/p/945HwiNrnle)</span></b>
```go
import (