Go map 面试十连问,你扛得住吗?
直接上代码 func test() int { result = 123 defer func() { result = 456 }() return result } func main() { fmt.Println(test()) }
共 1 篇文章
直接上代码 func test() int { result = 123 defer func() { result = 456 }() return result } func main() { fmt.Println(test()) }