coffee-to-go is a CLI tool for learning Golang through examples of managing and ordering coffee from a coffee shop.
This tool provides simple examples of Golang concepts and best practices. It started out as a way for me to personally
learn Golang concepts in ways that made the most sense to me. I hope that this tool can help others learn Golang in a
way that makes sense to them as well.
Full documentation available here
- Golang Concepts: Understand the core concepts that make Golang great.
- Error Handling: Explore error handling techniques in Golang.
- Concurrency: Learn about concurrency patterns in Golang.
- Testing: Discover how to write tests for your Golang code.
- Golang Concepts: In Progress
- Error Handling: TBD
- Concurrency: In Progress
- Testing: TBD
- Clone the repository:
git clone https://github.com/petermazzocco/coffee-to-go.git
- Install the tool locally:
cd coffee-to-go go install - Run the tool and find available concepts:
coffee learn -h
Some cmd functions require arguments to run, please refer to the /cmd folder to find which ones require arguments.
If you want to get more familiar with how the functions work, please refer to the /handlers folder.
This product is for personal use only and can be used by anyone who wants to learn Golang. If you want to use it for commercial purposes, please contact the author. Any contributions are welcome.