upgrade go module v2

This commit is contained in:
dudaodong committed 2022-03-17 10:57:35 +08:00
1 parent 1434e00712
commit 50c6e51393
42 files changed
+46 -45

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import (
"errors"
"fmt"
"github.com/duke-git/lancet/datastructure"
"github.com/duke-git/lancet/v2/datastructure"
)
// DoublyLink is a linked list. Whose node has a generic Value, Pre pointer points to a previous node of the link, Next pointer points to a next node of the link.
+1 -1
View File
@@ -3,7 +3,7 @@ package datastructure
import (
"testing"
"github.com/duke-git/lancet/internal"
"github.com/duke-git/lancet/v2/internal"
)
func TestDoublyLink_InsertAtFirst(t *testing.T) {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"errors"
"fmt"
"github.com/duke-git/lancet/datastructure"
"github.com/duke-git/lancet/v2/datastructure"
)
// SinglyLink is a linked list. Whose node has a Value generics and Next pointer points to a next node of the link.
+1 -1
View File
@@ -3,7 +3,7 @@ package datastructure
import (
"testing"
"github.com/duke-git/lancet/internal"
"github.com/duke-git/lancet/v2/internal"
)
func TestSinglyLink_InsertAtFirst(t *testing.T) {