Skip to content

Commit

Permalink
fix module
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuan-liang committed Oct 25, 2023
1 parent 4f1ae54 commit 4cab6a6
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions collection/lists/ArrayList.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions collection/lists/ArrayList_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions collection/lists/list_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions collection/lists/list_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion collection/maps/TreeMap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
4 changes: 2 additions & 2 deletions collection/stream/stream_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion collection/stream/stream_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion collection/tree/tree_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package tree

import (
"GoKit/collection"
"fmt"
"github.com/fengyuan-liang/GoKit/collection"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion collection/tree/tree_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package tree

import (
"GoKit/collection"
"github.com/fengyuan-liang/GoKit/collection"
)

// ITree represents the interface for a binary search tree
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module GoKit
module github.com/fengyuan-liang/GoKit

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion utils/util_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

package utils

import "GoKit/collection/maps"
import "github.com/fengyuan-liang/GoKit/collection/maps"

// SliceToMap Slice to Map
//
Expand Down
2 changes: 1 addition & 1 deletion utils/util_number.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package utils

import (
"GoKit/collection"
"github.com/fengyuan-liang/GoKit/collection"
)

func Max[T any](o1, o2 T) T {
Expand Down

0 comments on commit 4cab6a6

Please sign in to comment.