Skip to content

Glossary: Go Basics

Package

Also written: packages, package main

A folder of Go files that share a `package` line and can use each other's top-level names. The package called `main` becomes a runnable program.

Where the book teaches it

Related terms

import