| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | package hkid |
||
| 2 | |||
| 3 | type result struct { |
||
| 4 | hkid *hkid |
||
| 5 | Valid bool |
||
| 6 | } |
||
| 7 | |||
| 8 | func (h *result) GetPart1() string { |
||
| 9 | return h.hkid.GetPart1() |
||
| 10 | } |
||
| 11 | |||
| 12 | func (h *result) GetPart2() string { |
||
| 13 | return h.hkid.GetPart2() |
||
| 14 | } |
||
| 15 | |||
| 16 | func (h *result) GetPart3() string { |
||
| 17 | return h.hkid.GetPart3() |
||
| 18 | } |
||
| 19 | |||
| 20 | func (h *result) Format() string { |
||
| 21 | return h.hkid.Format() |
||
| 22 | } |
||
| 23 | |||
| 24 | func newHkidResultWithValid(hkid *hkid, valid bool) *result { |
||
| 25 | return &result{hkid: hkid, Valid: valid} |
||
| 26 | } |
||
| 27 |