A repo for learning Golang Fundamentals.
Also have a look at my Notion for even more elaborate notes 📝.
- Make sure you have Go installed and set up on your local machine.
- Run the command
go mod tidy
for installing external packages, if I have used any or use them in the future. - All the lessons are categorized as packages inside a respective module (folder 📁).
- View the
main.go
file for import instructions on how to view each lesson by importing them as packages. - Run the command
go run .
from the root directory.
💡 Note: I have already provided an example on how to import each lesson on the main.go
file.
- Variables and Constants
- Fmt Package
- Conditionals
- Randomizing
- Functions
- Pointers
- Loops
- Arrays
- Maps
- Structs
- Anonymous Functions
- Recursions
- Closure
- Interface
- Empty Interface
- Type Assertions
- Errors
- Defer, Panic and Recover
- Goroutines
- Go Channel
- Go Type Checking
- Go Generics
- Go Type Conversion