/rnd-go

A repo for documenting all the Golang Topics/Lessons Learned.

Primary LanguageGo

rnd-surajan-go

A repo for learning Golang Fundamentals.


Also have a look at my Notion for even more elaborate notes 📝.


How to run it 🤔?

  • 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.


Please follow in a sequential order for the best way to follow/learn the lessons given 😎.

  1. Variables and Constants
  2. Fmt Package
  3. Conditionals
  4. Randomizing
  5. Functions
  6. Pointers
  7. Loops
  8. Arrays
  9. Maps
  10. Structs
  11. Anonymous Functions
  12. Recursions
  13. Closure
  14. Interface
  15. Empty Interface
  16. Type Assertions
  17. Errors
  18. Defer, Panic and Recover
  19. Goroutines
  20. Go Channel
  21. Go Type Checking
  22. Go Generics
  23. Go Type Conversion