function
func
<font color="#f15a23">Closure</font>
method
ptr receiver
value receiver
test
unit test
<font color="#00a650">Test</font>* func
*<font color="#00a650">_test.go</font>
performance test
benchmark test
Example test
goroutine
GPM
<font color="#f15a23">m:n</font> mapping
SYNC
Once
WaitGroup
Pool
Map
Cond
chan
sync chan
buffer chan
Context
WithCancel
WithValue
WithDeadline
WithTimeout
defer[chan]
1. associated with goroutine
2. FILO
3. recover( ) must be called directly in defer func <br>to catch panic, in order to prevent catching errors <br>thrown by others accidentally<br>