Change module name

This commit is contained in:
Fabio Scotto di Santolo
2023-01-05 15:12:42 +01:00
parent 08c7dade2b
commit 61fd55fb5c
4 changed files with 10 additions and 2 deletions

View File

@@ -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]
}

View File

@@ -3,7 +3,7 @@ package collection_test
import (
"testing"
"asd.me/pkg/collection"
"github.com/asd/pkg/collection"
)
type pair struct {