1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-11 08:12:26 +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 datetime supports date and time format and compare.
## Usage:
```go
import (
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
```
@@ -86,7 +86,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -115,7 +115,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -143,7 +143,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -171,7 +171,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -197,7 +197,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -223,7 +223,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -251,7 +251,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -279,7 +279,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -306,7 +306,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -334,7 +334,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -360,7 +360,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -386,7 +386,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -414,7 +414,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -442,7 +442,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -469,7 +469,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -496,7 +496,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -523,7 +523,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -550,7 +550,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -577,7 +577,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -604,7 +604,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -630,7 +630,7 @@ package main
import (
"fmt"
"time"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {
@@ -656,7 +656,7 @@ package main
import (
"fmt"
"github.com/duke-git/lancet/datetime"
"github.com/duke-git/lancet/v2/datetime"
)
func main() {