Gopherize provide exercises that helps go beginner get used to read and write Go by fixing broken codes. The concept is inspired by rustlings.
You will need to have go installed in your machine. You can do it by visiting .
Try to run go version
to make sure go has been download to your machine.
Then just run:
go install github.com/jeffreylean/gopherize
This will install gopherize command to your machine.
git clone
this gopherize project to any directory you like.
Then make sure you cd
into the project directory and run the command gopherize
to get started.
The syllabus of our golang exercises will be following a very comprehensive go resource go101.
Exercises | |
---|---|
Intro | ✅ |
Constant and Variables | ✅ |
Code Package and Package Imports | ✅ |
Basic control Flows | ✅ |
Goroutines, Deferred Function Calls and panic/Recover | |
Type system | |
Pointers | |
Structs | ✅ |
Value parts | |
Arrays, slice and maps | |
Strings | |
Functions | |
Methods | |
Interfaces | |
Type embedding | |
Type-Unsafe Pointers | |
Generics | |
Reflection |
See CONTRIBUTING.md.
Thanks goes to the wonderful people listed in AUTHORS.md 🎉