Reference: blog_1, official docs
Go_Learning_Fundamental_String
Go_Learning_Fundamental_Constant
Go_Learning_Fundamental_format
Go_Learning_Fundamental_Interface
Go_Learning_Fundamental_Allocation
- Reference: effective go
GO_Learning_Fundamental_Array_Slice_Map
- Reference: TDD, Effective Go, Go Chinese Docs, Go By Example
Go_Learning_Fundamental_Concurrency_Reflection
You can find all the code for this chapter here
golang challenge: write a function
walk(x interface{}, fn func(string))
which takes a structx
and callsfn
for all strings fields found inside. difficulty level: recursively.
Go_Learning_Fundamental_Concurrency_Channel
- Refs: TDD, Go Chinese Doc