forked from BellerophonMobile/gonetworkmanager
-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathnmrollbackresult_string.go
More file actions
26 lines (20 loc) · 911 Bytes
/
nmrollbackresult_string.go
File metadata and controls
26 lines (20 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Code generated by "stringer -type=NmRollbackResult"; DO NOT EDIT.
package gonetworkmanager
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[NmRollbackResultOk-0]
_ = x[NmRollbackResultErrNoDevice-1]
_ = x[NmRollbackResultErrDeviceUnmanaged-2]
_ = x[NmRollbackResultErrFailed-3]
}
const _NmRollbackResult_name = "NmRollbackResultOkNmRollbackResultErrNoDeviceNmRollbackResultErrDeviceUnmanagedNmRollbackResultErrFailed"
var _NmRollbackResult_index = [...]uint8{0, 18, 45, 79, 104}
func (i NmRollbackResult) String() string {
if i >= NmRollbackResult(len(_NmRollbackResult_index)-1) {
return "NmRollbackResult(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _NmRollbackResult_name[_NmRollbackResult_index[i]:_NmRollbackResult_index[i+1]]
}