Beginner
Level 1 — Beginner
Start here if you have never written a line of Go before. Work through these lessons in order — each one builds on the last.
Lessons in this module
- 1. What Is Go? 4 min
- 2. Why Learn Go? 3 min
- 3. Installing Go 3 min
- 4. Setting Up Your Development Environment 3 min
- 5. Your First Go Program 5 min
- 6. How Go Code Runs: Compiling to a Single Binary 4 min
- 7. Variables & Data Types 6 min
- 8. Constants & iota 4 min
- 9. Type Conversion 5 min
- 10. Operators 4 min
- 11. Strings, Bytes & Runes 6 min
- 12. Formatted Output with fmt 5 min
- 13. Reading User Input 5 min
- 14. Conditionals 5 min
- 15. Switch 5 min
- 16. Loops: Go's Only Loop, for 6 min
- 17. Arrays 4 min
- 18. Slices 7 min
- 19. Maps 6 min
- 20. Functions 5 min
- 21. Multiple Return Values & Errors 6 min
- 22. Structs 5 min
- 23. Pointers 6 min
- 24. Methods 5 min
- 25. Comments & gofmt 4 min
- 26. Debugging Basics 6 min