我遇到了這樣的函數(為了清楚起見,進行了簡化):func myfunc(ir io.RuneReader, ib []byte, is string, pos, ncap int, dstCap []int) []int {var matched bool// do something to get matched, change dstCapReturn: if !matched { return nil } return dstCap}“返回:”這行是什么意思?
- 1 回答
- 0 關注
- 135 瀏覽
添加回答
舉報
0/150
提交
取消