mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
parens => parentheses
This commit is contained in:
parent
412b312c45
commit
dde956286a
@ -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…
Reference in New Issue
Block a user