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:
commit
bf15cd5aa4
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user