gobyexample
gobyexample copied to clipboard
Go by Example 通过例子学 Golang
闭包那边可以引用[Closures in Go](http://sunisdown.me/closures-in-go.html)来补充,使得更好的理解。
语法问题
 这里不包含下标为5的元素 **在切片那一页**  
Thank you for the translation, they are so great! When I build it locally, I come to the following file missing error, while the file is actually at that certain...
问题描述: 执行"临时文件和目录"代码时,会存在这样的error:`The process cannot access the file because it is being used by another process.` 首先代码如网站描述: ```go func check(e error) { if e != nil { panic(e) } } func...
修复了“临时文件和目录”临时文件不能删除的问题。
Go 会自动处理值和指针之间的转换 所以**你都可以使用指针来调用方法**,但是后者作者想强调的是 **想要避免在调用方法时产生一个拷贝,或者想让方法可以修改接受结构体的值**,所以最后应该是使用**你都可以使用指针类型的接收者(定义方法)** ,作者原话是 **You may want to use a pointer receiver type to avoid copying on method calls or to allow the method to mutate the receiving struct**
fix: markdown syntax
我尝试运行示例代码 发现输出结果与文档不一致,是环境问题吗?或者我对 go程或者通道理解有问题?  https://go.dev/play/p/EXvmOJcpMd2 
能不能增加一个侧边栏功能呀,这样的话,就方便更好的去快速查询。体验上会更好一些