摘要:
package mainimport "fmt"var name string= "go"func TestName() string { defer func() { name="python" }() fmt.Println(name) return name}func main() { myn 阅读全文
摘要:
https://draveness.me/golang/docs/part2-foundation/ch05-keyword/golang-panic-recover/ func test(){ fmt.Println("run......") defer func() { if err:=reco 阅读全文
摘要:
https://draveness.me/golang/docs/part3-runtime/ch06-concurrency/golang-sync-primitives/ https://mojotv.cn/404#Golang https://www.bookstack.cn/read/qcr 阅读全文