hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

element_string.go (445B)

    1 // Code generated by "stringer -type element"; DO NOT EDIT.
    2 
    3 package template
    4 
    5 import "strconv"
    6 
    7 const _element_name = "elementNoneelementScriptelementStyleelementTextareaelementTitle"
    8 
    9 var _element_index = [...]uint8{0, 11, 24, 36, 51, 63}
   10 
   11 func (i element) String() string {
   12 	if i >= element(len(_element_index)-1) {
   13 		return "element(" + strconv.FormatInt(int64(i), 10) + ")"
   14 	}
   15 	return _element_name[_element_index[i]:_element_index[i+1]]
   16 }