1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-12 08:42:29 +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

View File

@@ -12,7 +12,7 @@ Package xerror implements helpers for errors.
## Usage:
```go
import (
"github.com/duke-git/lancet/xerror"
"github.com/duke-git/lancet/v2/xerror"
)
```
@@ -42,7 +42,7 @@ package main
import (
"fmt"
"github.com/duke-git/lancet/xerror"
"github.com/duke-git/lancet/v2/xerror"
)
func main() {