GoCodes is a collection of various Go language programming exercises and solutions. It serves as a learning resource for Go beginners and a practice ground for experienced developers to hone their Go skills. Each exercise includes a problem statement and a corresponding solution implemented in Go.
- Diverse Collection: go-codes covers a wide range of programming exercises, including algorithms, data structures, and common coding challenges, API, Testing, Benchmarking with extensive notes.
- Detailed Concurrency and Channel patterns are documented under
Ultimate_Go/concurrency/channels/*
directory. - Clear Problem Statements: Each exercise comes with a well-defined problem statement to guide your implementation.
- Structured Solutions: Solutions are provided with comments to help you understand the thought process and best practices used.
- Unit Tests: The repository includes unit tests for each exercise, ensuring code correctness.
- Continuous Updates: The repository is regularly updated with new exercises and improvements.
To run the exercises and solutions in this repository, you need to have the following installed on your system:
- Go (v1.19 or above)
To use this repository, simply clone it to your local machine:
git clone https://github.com/gnsalok/go-codes.git
Navigate to the specific exercise directory you want to explore. Each exercise folder contains a Go file with the problem statement, a solution Go file, and a corresponding unit test Go file.
To run the unit tests for a specific exercise, use the following command:
go test -v
Feel free to experiment with the code, modify the solutions, and create new exercises. Contributions and suggestions for improvements are highly welcome!
Contributions to go-codes are encouraged! Whether it's adding new exercises, improving existing solutions, or enhancing the documentation, every contribution is valuable. Please read our Contribution Guidelines for more details on how to get involved.
Alok Tripathi - Github - Alok Tripathi
Explore, learn, and have fun with go-codes! We hope you find this repository useful on your journey to mastering Go programming. Happy coding! 🚀💻