Deep-shallow copy.
()
| 593 | |
| 594 | // Deep-shallow copy. |
| 595 | func (src *MsgServerCtrl) copy() *MsgServerCtrl { |
| 596 | if src == nil { |
| 597 | return nil |
| 598 | } |
| 599 | dst := *src |
| 600 | return &dst |
| 601 | } |
| 602 | |
| 603 | func (src *MsgServerCtrl) describe() string { |
| 604 | return src.Topic + " id=" + src.Id + " code=" + strconv.Itoa(src.Code) + " txt=" + src.Text |
no outgoing calls
no test coverage detected