
Source File Structure
Understand the anatomy of every Go source file, the package clause, import declarations, and how to organize code inside a file for clarity and correctness.
Lexical Elements
How Go source code is broken into tokens, how comments, identifiers, and keywords work, and the rules for automatic semicolon insertion.
Literals
A detailed guide to integer, floating-point, imaginary, rune, and string literals in Go, covering syntax, base prefixes, underscores, escape sequences.
Program Entry Point
How Go starts executable programs using the main package and main function, and a step-by-step guide to writing and running your first Hello World program