go资料清单
go学习资料
参考:
//清单
http://books.studygolang.com/(资源列表)
https://www.topgoer.com/ (go语言中文文档)
//重点
http://books.studygolang.com/gopl-zh/(go语言圣经)(4星)
http://books.studygolang.com/advanced-go-programming-book/(go语言高级编程)(在阅:5星)
http://books.studygolang.com/GoExpertProgramming/(go专家编程)(4星)
http://books.studygolang.com/go-internals/(深入解析go)(已阅:4星)
http://books.studygolang.com/go-rpc-programming-guide/(go RPC开发指南)
http://books.studygolang.com/go42/content/42_08_project.html(go语言42章经)
http://books.studygolang.com/gobyexample/(go by example)
mpg模型
概念:
http://books.studygolang.com/GoExpertProgramming/chapter03/3.1-go_schedule.html (go协程调度)
Goroutine主要概念如下:
- G(Goroutine): 即Go协程,每个go关键字都会创建一个协程。
- M(Machine): 工作线程,在Go中称为Machine。
- P(Processor): 处理器(Go中定义的一个摡念,不是指CPU),包含运行Go代码的必要资源,也有调度goroutine的能力。
原生核心库
bufio
bytes
context
io
io/fs
net
net/http
net/rpc
os
os/exec
os/signal
reflect
regexp
sync
sync/atomaic
time