Go-missing return at end of function

where?

  Go程序中函数在执行的时候

why?

  函数有返回参数,但是函数没有return关键字,报错

way?

  添加return返回函数需要返回的参数