type user struct{ name string age int } func (u user) func1(){ //do something } ... Mutex或類似同步字段的結構,則接收器必須是避免覆制的指針。
確定! 回上一頁