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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user