Change module name
This commit is contained in:
@@ -3,4 +3,9 @@ package collection
|
||||
type Iterator[E any] interface {
|
||||
HasNext() bool
|
||||
Next() E
|
||||
NextWithIndex() (int, E)
|
||||
}
|
||||
|
||||
type Iterable[E any] interface {
|
||||
Iterator() Iterator[E]
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package collection_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"asd.me/pkg/collection"
|
||||
"github.com/asd/pkg/collection"
|
||||
)
|
||||
|
||||
type pair struct {
|
||||
|
||||
Reference in New Issue
Block a user