Login
Remember
Register
Ask a Question
Write the syntax to create a function in Go programming language?
0
votes
asked
Aug 19, 2022
in
GoLang
by
john ganales
Write the syntax to create a function in Go programming language?
golang
function-syntax
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 19, 2022
by
john ganales
Syntax to create a function in Go:
func function_name( [parameter list] ) [return_types]
{
body of the function
}
...