mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-11 01:10:31 +00:00
9 lines
350 B
Plaintext
9 lines
350 B
Plaintext
// ## Packages
|
|
// * Package declaration at top of every source file
|
|
// * Executables are in package `main`
|
|
// * Convention: package name == last name of import path (import path `math/rand` => package `rand`)
|
|
// * Upper case identifier: exported (visible from other packages)
|
|
// * Lower case identifier: private (not visible from other packages)
|
|
|
|
|