[DEPRECATED] (Use https://github.com/golang-ds)
Library of generic data structures for Go.
-
--- more coming soon :D ---
$ go get github.com/MehdiEidi/gods
import "github.com/MehdiEidi/gods"
Either use convenience helper functions in gods package like this:
Example: Creating a new set:
s := gods.NewSet[string]()
s.Add("awesome :D")
or directly import the intended data structure and use its factory function:
import "github.com/MehdiEidi/gods/set"
.
.
.
s := set.New[string]()
s.Add("again awesome :D")