1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-01-17 21:49:22 +01:00

Merge pull request #300 from JensRantil/parentheses-fix

parens => parentheses
This commit is contained in:
Adam Bard 2013-09-04 09:27:11 -07:00
commit bf15cd5aa4

View File

@ -46,7 +46,7 @@ func main() {
}
// Functions have parameters in parentheses.
// If there are no parameters, empty parens are still required.
// If there are no parameters, empty parentheses are still required.
func beyondHello() {
var x int // Variable declaration. Variables must be declared before use.
x = 3 // Variable assignment.