This repository contains my learning journey and practice implementations based on the excellent Go by Example tutorials. It serves as a personal collection of Go programming examples and exercises, helping me better understand Go programming concepts through hands-on practice.
The repository is organized by different Go programming concepts:
arrays.go
- Examples of array implementations and usageconstants.go
- Understanding Go constantsfor.go
- Different types of for loop implementationshello-world.go
- Basic Go program structureif-else.go
- Conditional statements in Goslices.go
- Working with Go slicesswitch.go
- Switch statement implementationsvalues.go
- Basic value types in Govariables.go
- Variable declarations and usage
The main purposes of this repository are:
- Document my learning progress with Go programming
- Provide practical examples for future reference
- Share insights and understanding gained from Go by Example
- Create a comprehensive collection of Go programming patterns and practices
This project is based on the materials from Go by Example, created by Mark McGranaghan and updated by Eli Bendersky. I would like to express my sincere gratitude to the creators and maintainers of Go by Example for providing such an excellent resource for learning Go.
I plan to:
- Continue adding more examples and practices
- Include personal notes and insights for each concept
- Add detailed comments explaining the code functionality
- Share my learning experiences and challenges
- Include additional resources and references
- Create summaries of key Go programming concepts
While this is primarily a personal learning repository, suggestions and feedback are welcome through issues or pull requests.
This repository is for educational purposes. The original examples are from Go by Example, which is licensed under a Creative Commons Attribution 3.0 Unported License.
Note: This is a learning project and is not affiliated with the official Go by Example website.