0 votes
in GoLang by
Write the syntax to create a function in Go programming language?

1 Answer

0 votes
by
Syntax to create a function in Go:

func function_name( [parameter list] ) [return_types]  

{  

   body of the function  

}
...