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

3
.gitignore vendored
View File

@@ -1,4 +1,6 @@
# Binaries for programs and plugins # Binaries for programs and plugins
build/
*.exe *.exe
*.exe~ *.exe~
*.dll *.dll
@@ -13,3 +15,4 @@
# Dependency directories (remove the comment below to include it) # Dependency directories (remove the comment below to include it)
# vendor/ # vendor/
.idea/

2
go.mod
View File

@@ -1,3 +1,3 @@
module asd.me module github.com/asd
go 1.19 go 1.19

View File

@@ -3,4 +3,9 @@ package collection
type Iterator[E any] interface { type Iterator[E any] interface {
HasNext() bool HasNext() bool
Next() E Next() E
NextWithIndex() (int, E)
}
type Iterable[E any] interface {
Iterator() Iterator[E]
} }

View File

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