2-add-keyword-support (#6)
More development. More types. Fixed attribute groups in requests. Started on client. Saving data to file. More types. Printing from chromeos works a little bit. More types. Spelling corrections. WIP: Fix keyword handling Move request to a separate file and add test. Co-authored-by: Henrik Sölver <henrik.solver@gmail.com> Reviewed-on: #6 Co-Authored-By: henrik <henrik.solver@gmail.com> Co-Committed-By: henrik <henrik.solver@gmail.com>
This commit was merged in pull request #6.
This commit is contained in:
26
packages/ipp/printerstate_string.go
Normal file
26
packages/ipp/printerstate_string.go
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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]]
|
||||
}
|
||||
Reference in New Issue
Block a user