最近发布的主题
最近发布的文章
暂无
最近分享的资源
暂无
最近发布的项目
暂无
最近的评论
-
评论了主题 请问现在各大公司go都用什么ide?goland
-
评论了主题 if中用分号是否奇怪?
-
评论了主题 if中用分号是否奇怪?先把 [tour of go](https://tour.golang.org/list) 看完吧,你这个问题在 [这里](https://tour.golang.org/flowcontrol/6) 说得很明白
-
在官方的[effective go](https://golang.org/doc/effective_go.html#composite_literals)中有一句话 > Note that, unlike in C, it's perfectly OK to return the address of a local variable; the storage associated with the variable survives after the function returns. 所以在 go 中,返回指向局部变量的指针是没问题的。