初级会员
  • 第 18493 位会员
  • beary
  • beary
  • 2018-05-09 15:58:10
  • Offline
  • 20 11

最近发布的主题

最近发布的文章

    暂无

最近分享的资源

    暂无

最近发布的项目

    暂无

最近的评论

  • 2018-05-10 10:33:32 评论了主题 请问现在各大公司go都用什么ide?
    goland
  • 2018-05-09 16:52:17 评论了主题 if中用分号是否奇怪?
    #4 @taatcc 被墙了,包括 [golang.org](https://golang.org) 也被墙了,你可以用梯子看。 不过你可以看顶部菜单的“官方文档-->Go 指南”,effective go 在 “官方文档-->中文文档-->文档-->实效 Go 编程”中。
  • 2018-05-09 16:35:46 评论了主题 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 中,返回指向局部变量的指针是没问题的。