易百教程

19、Go编程语言编写创建函数的语法是什么?

在 Go 中创建函数的语法:

func function_name( [parameter list] ) [return_types]  
{  
   body of the function  
}