1// Code generated by "stringer -type urlPart"; DO NOT EDIT. 2 3package template 4 5import "strconv" 6 7const _urlPart_name = "urlPartNoneurlPartPreQueryurlPartQueryOrFragurlPartUnknown" 8 9var _urlPart_index = [...]uint8{0, 11, 26, 44, 58} 10 11func (i urlPart) String() string { 12 if i >= urlPart(len(_urlPart_index)-1) { 13 return "urlPart(" + strconv.FormatInt(int64(i), 10) + ")" 14 } 15 return _urlPart_name[_urlPart_index[i]:_urlPart_index[i+1]] 16} 17