This repository has been archived on 2025-03-19. You can view files and clone it, but cannot push or open issues or pull requests.
gonetworkmanager/nm80211mode_string.go
2020-07-31 16:14:41 +02:00

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]]
}