~samwhited/xmpp

ref: 932069a36ba855c5e6b9e5e330d9a53e4303c029 xmpp/color/cvd_string.go -rw-r--r-- 346 bytes
932069a3Sam Whited all: update build tags for Go 1.17 1 year, 7 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by "stringer -type=CVD"; DO NOT EDIT.

package color

import "strconv"

const _CVD_name = "NoneRedGreenBlue"

var _CVD_index = [...]uint8{0, 4, 12, 16}

func (i CVD) String() string {
	if i >= CVD(len(_CVD_index)-1) {
		return "CVD(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _CVD_name[_CVD_index[i]:_CVD_index[i+1]]
}