blob: 464233b7a8dd084608bdac4971f804c884186801 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Code generated by "stringer -type=PTM_STATUS"; DO NOT EDIT.
package zebra
import "fmt"
const _PTM_STATUS_name = "PTM_STATUS_DOWNPTM_STATUS_UPPTM_STATUS_UNKNOWN"
var _PTM_STATUS_index = [...]uint8{0, 15, 28, 46}
func (i PTM_STATUS) String() string {
if i >= PTM_STATUS(len(_PTM_STATUS_index)-1) {
return fmt.Sprintf("PTM_STATUS(%d)", i)
}
return _PTM_STATUS_name[_PTM_STATUS_index[i]:_PTM_STATUS_index[i+1]]
}
|