A repo for common data structures implemented in Go.
Use the source code or explore the examples like below.
go run main.go -example trie
This package repo is using go modules. https://github.com/golang/go/wiki/Modules It's recommended to use go version 1.11 or greater. If you have not done so already, you may need to export this environment variable in your ~/.profile. e.g.
export GO111MODULE=on
don't forget to source ~/.profile
afterwards to pick up the change
NOTE: removing module support should be as easy as removing the above export from the ~/.profile, save and sourcing the file again.
- trie - Launches a browser tab with a search box that searches a backing Trie data structure that has been loaded with some baseline English dictionary (appears to be European btw).
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
visit me at: mikeads.com