hugo

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

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

urlpart_string.go (436B)

    1 // Code generated by "stringer -type urlPart"; DO NOT EDIT.
    2 
    3 package template
    4 
    5 import "strconv"
    6 
    7 const _urlPart_name = "urlPartNoneurlPartPreQueryurlPartQueryOrFragurlPartUnknown"
    8 
    9 var _urlPart_index = [...]uint8{0, 11, 26, 44, 58}
   10 
   11 func (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 }