mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-09 07:10:36 +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)
|
||
|
|
||
|
|