Rebranding.
This commit is contained in:
parent
1c5fcf1da1
commit
8bdbaa9455
7 changed files with 42 additions and 47 deletions
|
@ -2,7 +2,7 @@ package main
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/reklesio/gods/lists"
|
||||
"github.com/omnipunk/gods/lists"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/reklesio/gods/maps"
|
||||
"github.com/omnipunk/gods/maps"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/reklesio/gods
|
||||
module github.com/omnipunk/gods
|
||||
|
||||
go 1.21
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package lists
|
||||
|
||||
import (
|
||||
"github.com/reklesio/gods"
|
||||
"github.com/reklesio/gods/stacks"
|
||||
"github.com/omnipunk/gods"
|
||||
"github.com/omnipunk/gods/stacks"
|
||||
)
|
||||
|
||||
// The interface all the lists must implement.
|
||||
|
@ -38,4 +38,3 @@ type List[V any] interface {
|
|||
// and sorts the list corresponding to it.
|
||||
Sort(gods.LessFunc[V])
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package lists
|
||||
|
||||
import (
|
||||
"github.com/reklesio/gods"
|
||||
"github.com/omnipunk/gods"
|
||||
"sort"
|
||||
"fmt"
|
||||
)
|
||||
|
@ -61,7 +61,6 @@ func (ll *sLinkedList[V]) Len() int {
|
|||
return ll.ln
|
||||
}
|
||||
|
||||
|
||||
// Get the index-indexed element itself.
|
||||
func (ll *sLinkedList[V]) getEl(index int) *sElement[V] {
|
||||
if ll.ln <= index || index < 0 {
|
||||
|
@ -267,4 +266,3 @@ func (ll *sLinkedList[V]) Sort(fn gods.LessFunc[V]) {
|
|||
LessFunc: fn,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ package maps
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/reklesio/gods"
|
||||
"github.com/omnipunk/gods"
|
||||
)
|
||||
|
||||
// Generic map interface for all the maps.
|
||||
|
@ -140,5 +140,3 @@ func (m *lMap[K, V]) KeyChan() chan K {
|
|||
}()
|
||||
return ret
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package stacks
|
||||
|
||||
import (
|
||||
"github.com/reklesio/gods"
|
||||
"github.com/omnipunk/gods"
|
||||
)
|
||||
|
||||
type Stack[V any] interface {
|
||||
|
|
Loading…
Reference in a new issue