1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-17 12:10:52 +02:00

Update go.html.markdown with simpler wording (#4829)

This commit is contained in:
Muhammad Rafay Nadeem
2024-01-27 02:29:13 +05:00
committed by GitHub
parent 3ae5f34a91
commit 8498d0254a

View File

@@ -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)
}