Go Module
Overview
This repository contains a collection of go packages that implement some common data structures and algorithms. The library is designed to be modular and easy to use, with each package focusing on a specific data structure, algorithm or some other language feature. The repository also includes iterators that leverage the new Go 1.23 features, along with comprehensive tests for each package.
Installation
To install this module, run:
go get github.com/elordeiro/go/
You can import specific packages as needed:
import "github.com/elordeiro/go/container/iters"
or
import it "github.com/elordeiro/go/container/iters"
Packages
Container
The container
collection contains various data structures, each implemented as its own package.
Iters
The iters package provides helpful iterators that leverage the new Go 1.23 language features. These iterators can be used to traverse or transform collections in a concise and idiomatic manner.
- Features:
- Range-based iteration
- Filtering and mapping operations
- Custom iterators for specific data structures
- Lazy evaluation for efficient processing
- Much more!
Contributing
Contributions are welcome! If you find a bug or want to add a new feature, please open an issue or submit a pull request.
License
This project is licensed under the BSD-3 License. See the LICENSE file for details.