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  

}

Related questions

0 votes
asked Aug 19, 2022 in GoLang by john ganales
0 votes
asked Aug 19, 2022 in GoLang by john ganales
...