「 BOOK 」 八月 14, 2022
《Go in Action》书摘
文章字数 42k 阅读约需 38 mins.
1.1.2 Concurrency
- Channels help to enforce the pattern that only one goroutine should modify the data at any time.
- … channels are used to send data between several running goroutines.
- If your
main
function doesn’t exist in packagemain
, the build tools...