Welcome to my personal Go (Golang) learning repository! This repo contains hands-on examples and practice files organized by specific core topics. Each folder represents a fundamental concept in the Go programming language, with simple, beginner-friendly code to help solidify understanding.
Go is a modern, fast, and statically typed language developed at Goovgle, known for:
- High performance
- Concurrency support
- Clean and simple syntax
- Great for backend, cloud, and system programming
Go is trusted by some of the biggest tech companies in the world for its speed, scalability, and simplicity.
I'm learning Go to become more proficient in building scalable backend services, CLIs, and cloud-native applications.
| Folder Name | Topic Description |
|---|---|
01_variables |
Basics of declaring and using variables |
02_constants |
Constants and typed/untyped constants |
03_datatypes |
Basic data types like int, float, string, bool |
04_arrays |
Working with arrays and their limitations |
05_slices |
Slices vs arrays, slice operations |
06_loops |
for, while-like loops, loop control keywords |
07_conditionals |
if, else, switch, short statements |
08_functions |
Declaring and calling functions, parameters, return values |
09_pointers |
Understanding pointers and memory references |
10_structs |
Structs and basic composition |
11_maps |
Using maps (hash tables) in Go |
12_interfaces |
Interfaces and polymorphism |
13_goroutines |
Concurrency with goroutines and channels |
14_packages |
Creating and importing custom packages |
🧪 More topics will be added as I progress in my learning journey!
Make sure you have Go installed:
➡️ Install Go
Then, navigate to any folder and run the Go file:
cd 04_arrays
go run main.go