diff --git a/collection/lists/ArrayList.go b/collection/lists/ArrayList.go index cce51c2..a654245 100644 --- a/collection/lists/ArrayList.go +++ b/collection/lists/ArrayList.go @@ -5,9 +5,9 @@ package lists import ( - "GoKit/collection" - "GoKit/collection/stream" "fmt" + "github.com/fengyuan-liang/GoKit/collection" + "github.com/fengyuan-liang/GoKit/collection/stream" "strings" ) diff --git a/collection/lists/ArrayList_test.go b/collection/lists/ArrayList_test.go index 4baba30..6ef1783 100644 --- a/collection/lists/ArrayList_test.go +++ b/collection/lists/ArrayList_test.go @@ -5,8 +5,8 @@ package lists import ( - "GoKit/collection" - "GoKit/utils" + "github.com/fengyuan-liang/GoKit/collection" + "github.com/fengyuan-liang/GoKit/utils" "github.com/stretchr/testify/assert" "testing" ) diff --git a/collection/lists/list_base.go b/collection/lists/list_base.go index 9906bba..78be7b1 100644 --- a/collection/lists/list_base.go +++ b/collection/lists/list_base.go @@ -5,9 +5,9 @@ package lists import ( - "GoKit/collection" - "GoKit/collection/stream" "fmt" + "github.com/fengyuan-liang/GoKit/collection" + "github.com/fengyuan-liang/GoKit/collection/stream" ) type BaseList[E any] struct { diff --git a/collection/lists/list_interface.go b/collection/lists/list_interface.go index e9dae14..64185ff 100644 --- a/collection/lists/list_interface.go +++ b/collection/lists/list_interface.go @@ -5,8 +5,8 @@ package lists import ( - "GoKit/collection" - "GoKit/collection/stream" + "github.com/fengyuan-liang/GoKit/collection" + "github.com/fengyuan-liang/GoKit/collection/stream" ) const ( diff --git a/collection/maps/TreeMap.go b/collection/maps/TreeMap.go index 81ec2d4..b967070 100644 --- a/collection/maps/TreeMap.go +++ b/collection/maps/TreeMap.go @@ -4,7 +4,7 @@ package maps -import "GoKit/collection" +import "github.com/fengyuan-liang/GoKit/collection" func NewTreeMap[K comparable, V any]() IMap[K, V] { return new(TreeMap[K, V]) diff --git a/collection/stream/stream_base.go b/collection/stream/stream_base.go index f2c8174..980b0e9 100644 --- a/collection/stream/stream_base.go +++ b/collection/stream/stream_base.go @@ -5,8 +5,8 @@ package stream import ( - "GoKit/collection" - "GoKit/utils" + "github.com/fengyuan-liang/GoKit/collection" + "github.com/fengyuan-liang/GoKit/utils" ) type Stream[In any, Out any] struct { diff --git a/collection/stream/stream_interface.go b/collection/stream/stream_interface.go index be1375e..2e777c8 100644 --- a/collection/stream/stream_interface.go +++ b/collection/stream/stream_interface.go @@ -4,7 +4,7 @@ package stream -import "GoKit/collection" +import "github.com/fengyuan-liang/GoKit/collection" type IStream[In any, Out any] interface { Filter(filterFunc func(ele In) bool) IStream[In, Out] diff --git a/collection/tree/tree_common.go b/collection/tree/tree_common.go index 063dc85..074a0c8 100644 --- a/collection/tree/tree_common.go +++ b/collection/tree/tree_common.go @@ -5,8 +5,8 @@ package tree import ( - "GoKit/collection" "fmt" + "github.com/fengyuan-liang/GoKit/collection" "strings" ) diff --git a/collection/tree/tree_interface.go b/collection/tree/tree_interface.go index b995215..48a07e2 100644 --- a/collection/tree/tree_interface.go +++ b/collection/tree/tree_interface.go @@ -5,7 +5,7 @@ package tree import ( - "GoKit/collection" + "github.com/fengyuan-liang/GoKit/collection" ) // ITree represents the interface for a binary search tree diff --git a/go.mod b/go.mod index 7797808..8f0bca2 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module GoKit +module github.com/fengyuan-liang/GoKit go 1.19 diff --git a/utils/util_map.go b/utils/util_map.go index 2e18d21..f5bd1c1 100644 --- a/utils/util_map.go +++ b/utils/util_map.go @@ -4,7 +4,7 @@ package utils -import "GoKit/collection/maps" +import "github.com/fengyuan-liang/GoKit/collection/maps" // SliceToMap Slice to Map // diff --git a/utils/util_number.go b/utils/util_number.go index e385f5f..31a83bd 100644 --- a/utils/util_number.go +++ b/utils/util_number.go @@ -5,7 +5,7 @@ package utils import ( - "GoKit/collection" + "github.com/fengyuan-liang/GoKit/collection" ) func Max[T any](o1, o2 T) T {