change the name from "Variable" to "Variadic"

This commit is contained in:
Robert Terhaar
2015-11-26 01:26:21 -05:00
committed by James Miranda
parent 5ce8b95280
commit 33c7ca4316

View File

@@ -257,9 +257,9 @@ The above example returns two values without names -you have the option of namin
return
}
### Variable arguments
### Variadic functions
Go supports variable arguments, which means you can give an uncertain numbers of argument to functions.
Go supports functions with a variable number of arguments. These functions are called "variadic", which means the function allows an uncertain numbers of arguments.
func myfunc(arg ...int) {}