Go-missing return at end of function

where?

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

why?

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

way?

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

posted @ 2018-05-15 12:53  梦_鱼  阅读(1296)  评论(0编辑  收藏  举报