Skip to main content

Learn Go

Plenty of developers choose Go when they write computer programs, and this tutorial will show you how to do the same.


Examples in Each Chapter

Learning Go is easiest when you can see it working, so the chapters are built around examples. Each one pairs Go code with the result it produces, which lets you see exactly what a program does.

Example

Prompt
Print "Hello World!" using the fmt package.
Output: Go program and captured output