Black Lives Matter. Support the Equal Justice Initiative.

Source file src/html/template/jsctx_string.go

Documentation: html/template

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

View as plain text