()
| 158 | type status int |
| 159 | |
| 160 | func (s status) String() string { |
| 161 | switch s { |
| 162 | case ok: |
| 163 | return "ok" |
| 164 | case unreadable: |
| 165 | return "unreadable" |
| 166 | case pending: |
| 167 | return "pending" |
| 168 | case fixed: |
| 169 | return "fixed" |
| 170 | case recovered: |
| 171 | return "recovered" |
| 172 | case failed: |
| 173 | return "failed" |
| 174 | default: |
| 175 | return "unknown" |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | func shortPrt(nums []uint64) string { |
| 180 | if len(nums) == 0 { |
no outgoing calls
no test coverage detected