24 lines
659 B
Go
24 lines
659 B
Go
// Code generated by "stringer -type=NmCapability"; 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[NmCapabilityTeam-1]
|
|
}
|
|
|
|
const _NmCapability_name = "NmCapabilityTeam"
|
|
|
|
var _NmCapability_index = [...]uint8{0, 16}
|
|
|
|
func (i NmCapability) String() string {
|
|
i -= 1
|
|
if i >= NmCapability(len(_NmCapability_index)-1) {
|
|
return "NmCapability(" + strconv.FormatInt(int64(i+1), 10) + ")"
|
|
}
|
|
return _NmCapability_name[_NmCapability_index[i]:_NmCapability_index[i+1]]
|
|
}
|