摘要:
Patterns ¶ Patterns can match the method, host and path of a request. Some examples: "/index.html" matches the path "/index.html" for any host and met 阅读全文
摘要:
Choosing a value or pointer receiver There are two reasons to use a pointer receiver. The first is so that the method can modify the value that its re 阅读全文
摘要:
type Person struct { Id int `json:"id"` GivenName string `json:"given_name"` FamilyName string `json:"family_name"` Email string `json:"email"` } func 阅读全文
摘要:
7-bit ASCII Character Codes The ASCII table contains letters, numbers, control characters, and other symbols. Each character is assigned a unique 7-bi 阅读全文
摘要:
Problems with byte order are frustrating, and I want to spare you the grief I experienced. Here's the key: Problem: Computers speak different language 阅读全文