zeromicro / zero-doc

The docs for go-zero

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

请问为什么会有"空的内存占位"的情况呢?

yudidi opened this issue · comments

commented

// 调用fn方法,将结果填入变量c中
c.val, c.err = fn()

fn() 没有返回的话,c的值是个无效值