PRACTICE / UNDERSTAND / REPEAT
Go practice question
Practice functions with self-contained questions. Check your answer, then use the explanation to understand the reasoning.
1 questionAnswers explainedFree · no login
Try this question
Complete the keyword that declares this Go function.
___ greet(name string) {
fmt.Println(name)
}
Answer & explanation
Answer: func
`func` declares a Go function.