()
| 638 | } |
| 639 | |
| 640 | func (m *MPath) ToString() string { |
| 641 | var b strings.Builder |
| 642 | |
| 643 | b.WriteString(m.GetMPath1()) |
| 644 | b.WriteString(m.GetMPath2()) |
| 645 | b.WriteString(m.GetMPath3()) |
| 646 | b.WriteString(m.GetMPath4()) |
| 647 | |
| 648 | return b.String() |
| 649 | } |
| 650 | |
| 651 | func (m *MPath) Length() int { |
| 652 | if m == nil { |