Go is the language behind Docker, Kubernetes, and Terraform — Google built it to turn a program into one self-contained file that runs anywhere, and to stay simple enough that anyone can read it. This book teaches it to complete beginners. One-time $4.99 — and you keep it forever.
Go Programming: Fundamentals is a plain-English first course in Go for people who have never programmed. No experience needed, no expensive software: the only tool is the free Go toolchain. You will compile and run real programs from the second chapter — modules and the go.mod identity card, variables declared both honest ways, types with their guaranteed zero values, decisions with ladders, initializers, and switches that never fall through, the one loop in its three costumes, and functions that hand back several answers at once. Then the working collections: slices and maps, with append's capacity behavior shown in real numbers and the two-value lookup that separates "absent" from "zero." Structs and methods with the two kinds of receiver. Go's famous error handling, taught in the open — including a genuine file-not-found error from a real run, printed verbatim and read calmly. Pointers inside Go's safety fences. And a first taste of the concurrency Go is famous for — goroutines and channels, designed so the output is dependable on every run. Every program printed in this book was compiled and run for real with the Go toolchain before it went on the page — fourteen projects, built, vetted with go vet, formatted, and run, standard library only, nothing to download — including the genuine missing-file error in Chapter 9, which is the lesson, not an accident.
Inside (12 chapters, 83 pages, about 13,400 words, illustrated — one teaching diagram per chapter):
- What Go Is — One File, Any Machine, No Apologies: one static binary for any machine, and the garbage-collection bargain stated honestly
- Your First Program — Modules, go run, and Two Ways to Say “This Is a Value”: modules, go run vs go build, var vs :=
- Types and the Zero Value — Every Box Starts With a Sensible Empty: the type shelf, bytes vs runes, and zero values you can rely on
- Making Decisions — Ladders, Initializers, and Switches That Stay in Their Lane: if with an initializer, and switch with no fallthrough
- The One Loop — for in Three Costumes: Go's only loop — counted, conditional, and ranging over collections
- Functions — Several Answers at Once: multiple return values, named results, and functions as values
- Slices and Maps — The Working Collections: len and cap, the comma-ok check, and sorted map keys
- Structs and Methods — Shapes of Your Own, and the Two Kinds of Receiver: value vs pointer receivers, and composition instead of classes
- Errors as Values — No Exceptions, Nothing Hidden: a genuine file-not-found error, errors.Is, and panic's proper place
- Pointers at Go's Depth — Addresses, Without the Danger: addresses inside Go's safety fences — new vs make
- A First Taste of Concurrency — Goroutines and Channels: separate channels, close, and a WaitGroup — deterministic by design
- Capstone and the Honest Map — The Personal Library, Assembled: the library with text-file persistence, a skills checklist, and the honest no-certification finale
Written in English (English edition). By Cosmo, published by Kaila's World. Instant download after checkout — the PDF is delivered automatically by the Digital Products app to your email. Personal-use license (see our Digital Rights & Licensing Policy). The companion volume, Go Programming: The Advanced Course, picks up where this one stops.