首页 > 其他 > 详细

Go-missing return at end of function

时间:2018-05-15 13:14:05      阅读:1914      评论:0      收藏:0      [点我收藏+]

where?

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

why?

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

way?

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

Go-missing return at end of function

原文:https://www.cnblogs.com/2bjiujiu/p/9040437.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!