delim_string.go (416B)
1 // Code generated by "stringer -type delim"; DO NOT EDIT. 2 3 package template 4 5 import "strconv" 6 7 const _delim_name = "delimNonedelimDoubleQuotedelimSingleQuotedelimSpaceOrTagEnd" 8 9 var _delim_index = [...]uint8{0, 9, 25, 41, 59} 10 11 func (i delim) String() string { 12 if i >= delim(len(_delim_index)-1) { 13 return "delim(" + strconv.FormatInt(int64(i), 10) + ")" 14 } 15 return _delim_name[_delim_index[i]:_delim_index[i+1]] 16 }