go-spice/channeltype_string.go
Vasiliy Tolstov f3a0197dd9 initial import
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2017-07-08 23:23:17 +03:00

18 lines
505 B
Go

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