~samwhited/xmpp

ref: de40e6f9107a5d25ae8c8edad9289fd0c4b12e2f xmpp/commands/notetype_string.go -rw-r--r-- 417 bytes
de40e6f9Sam Whited roster: add type to IQ response in test 10 months 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]]
}