1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-03-01 00:35:28 +08:00

docs: add v2 in import path

This commit is contained in:
dudaodong
2022-03-17 11:33:45 +08:00
parent 50c6e51393
commit 40b2560752
34 changed files with 497 additions and 497 deletions
+5 -5
View File
@@ -13,7 +13,7 @@ retry重试执行函数直到函数运行成功或被context cancel。
## 用法:
```go
import (
"github.com/duke-git/lancet/retry"
"github.com/duke-git/lancet/v2/retry"
)
```
@@ -94,7 +94,7 @@ import (
"fmt"
"errors"
"log"
"github.com/duke-git/lancet/retry"
"github.com/duke-git/lancet/v2/retry"
)
func main() {
@@ -136,7 +136,7 @@ import (
"fmt"
"errors"
"log"
"github.com/duke-git/lancet/retry"
"github.com/duke-git/lancet/v2/retry"
)
func main() {
@@ -175,7 +175,7 @@ import (
"fmt"
"errors"
"log"
"github.com/duke-git/lancet/retry"
"github.com/duke-git/lancet/v2/retry"
)
func main() {
@@ -215,7 +215,7 @@ import (
"fmt"
"errors"
"log"
"github.com/duke-git/lancet/retry"
"github.com/duke-git/lancet/v2/retry"
)
func main() {