🐹 Go (Golang) Handbook

A quick-reference guide for Go programming

Overview

Go is a statically typed, compiled language designed at Google for simplicity, performance, and concurrency. It is widely used for cloud services, microservices, CLI tools, and DevOps tooling.

Version Go 1.21+  Paradigm Procedural, Concurrent  Typing Static

Core Concepts

Variables & Types

Control Flow

Functions

Concurrency

Key Packages & Tools

Category Package / Tool
Web net/http, Gin, Echo, Fiber
Testing testing, testify
Database database/sql, GORM
CLI cobra, flag
Build/Deploy go build, go mod, Docker

Common Interview Topics