~samwhited/xmpp

xmpp/commands/notetype_string.go -rw-r--r-- 417 bytes
c9743d9fSam Whited docs: update changelog to include deprecations 7 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by "stringer -type=NoteType -linecomment"; DO NOT EDIT.

package commands

import "strconv"

const _NoteType_name = "infowarnerror"

var _NoteType_index = [...]uint8{0, 4, 8, 13}

func (i NoteType) String() string {
	if i < 0 || i >= NoteType(len(_NoteType_index)-1) {
		return "NoteType(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _NoteType_name[_NoteType_index[i]:_NoteType_index[i+1]]
}