摘要:
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
阅读全文