Documentation ¶
Index ¶
Constants ¶
View Source
const HelloWorld string = "Hello, World!"
Constants can be character, string, boolean, or numeric values.
View Source
const Pi = 3.14
Variables ¶
View Source
var ( ToBe bool = false MaxInt uint64 = 1<<64 - 1 )
"factored" variable declarations
Functions ¶
func Add ¶
A function can take zero or more arguments.
When two or more consecutive named function parameters share a type,
you can omit the type from all but the last.
func PrintBasicTypesExample ¶
func PrintBasicTypesExample()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.