summaryrefslogtreecommitdiff
path: root/Go Packages.md
blob: bcf8b9cafbcc344250014c0145467c7614e19a3b (plain)
1
2
3
4
5
6
7
[[Golang]]

---
A golang program can be divided into logical segments called packages. A package is a sort of library containing related code.
A special package exists: `main`, which defines the executable entry point of the application.

A package consists of [[Go Source Files]].