Welcome to my Go (Golang) learning repository! This project serves as a structured collection of my experiments, exercises, and deep dives into the Go programming language.
This repository is organized by topics, starting from the basics and moving towards more advanced concepts.
- Go (version 1.20+ recommended)
.
├── GET_STARTED/ # Fundamental Go concepts (Numbered Lessons)
│ ├── 01_hello_world/ # The absolute basics
│ ├── 02_variables/ # Storing data
│ ├── 03_control_flow/ # If/Else and Loops
│ ├── 04_data_structures/ # Arrays, Slices, and Maps
│ └── 05_functions/ # Reusable logic
└── README/ # Detailed documentation and notes
To run any lesson, navigate to the folder and run:
cd GET_STARTED/01_hello_world
go run main.go- Printing to console (string, int, float, bool)
- Variable declarations (standard and shorthand)
- Constants and constant grouping
- Control flow:
forloops (range-based and condition-based)
- Fixed-size arrays
- Initialization patterns
- Multi-dimensional (2D) arrays
- Go Compiler: The powerful toolset for building and running Go code.
- VS Code: Recommended for its excellent Go extension support.
Happy Coding! 🚀