mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Update go.html.markdown with simpler wording (#4829)
This commit is contained in:
parent
3ae5f34a91
commit
8498d0254a
@ -357,7 +357,7 @@ func learnInterfaces() {
|
||||
// Functions can have variadic parameters.
|
||||
func learnVariadicParams(myStrings ...interface{}) {
|
||||
// Iterate each value of the variadic.
|
||||
// The underbar here is ignoring the index argument of the array.
|
||||
// The underscore here is ignoring the index argument of the array.
|
||||
for _, param := range myStrings {
|
||||
fmt.Println("param:", param)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user