go-spice/channeltype_string.go

18 lines
505 B
Go
Raw Normal View History

// Code generated by "stringer -type=ChannelType"; DO NOT EDIT.
package spice
import "fmt"
const _ChannelType_name = "RedChannelMainRedChannelDisplayRedChannelInputsRedChannelCursorRedChannelPlaybackRedChannelRecord"
var _ChannelType_index = [...]uint8{0, 14, 31, 47, 63, 81, 97}
func (i ChannelType) String() string {
i -= 1
if i >= ChannelType(len(_ChannelType_index)-1) {
return fmt.Sprintf("ChannelType(%d)", i+1)
}
return _ChannelType_name[_ChannelType_index[i]:_ChannelType_index[i+1]]
}