26 lines
778 B
Go
26 lines
778 B
Go
// Code generated by "stringer -type=Nm80211Mode"; 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[Nm80211ModeUnknown-0]
|
|
_ = x[Nm80211ModeAdhoc-1]
|
|
_ = x[Nm80211ModeInfra-2]
|
|
_ = x[Nm80211ModeAp-3]
|
|
}
|
|
|
|
const _Nm80211Mode_name = "Nm80211ModeUnknownNm80211ModeAdhocNm80211ModeInfraNm80211ModeAp"
|
|
|
|
var _Nm80211Mode_index = [...]uint8{0, 18, 34, 50, 63}
|
|
|
|
func (i Nm80211Mode) String() string {
|
|
if i >= Nm80211Mode(len(_Nm80211Mode_index)-1) {
|
|
return "Nm80211Mode(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _Nm80211Mode_name[_Nm80211Mode_index[i]:_Nm80211Mode_index[i+1]]
|
|
}
|