Files
ippserver/packages/ipp/printerstate_string.go
Henrik Sölver 77ef627fe2 More development.
More types.
Fixed attribute groups in requests.
Started on client.
Saving data to file.
2020-12-26 20:58:38 +01:00

27 lines
697 B
Go

// Code generated by "stringer -type printerState ."; DO NOT EDIT.
package ipp
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[Idle-3]
_ = x[Processing-4]
_ = x[Stopped-5]
}
const _printerState_name = "IdlePreocessingStopped"
var _printerState_index = [...]uint8{0, 4, 15, 22}
func (i printerState) String() string {
i -= 3
if i < 0 || i >= printerState(len(_printerState_index)-1) {
return "printerState(" + strconv.FormatInt(int64(i+3), 10) + ")"
}
return _printerState_name[_printerState_index[i]:_printerState_index[i+1]]
}