Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Write the syntax to create a function in Go programming language?
Home
GoLang
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
}
...