github.com/coveo/gotemplate@v2.7.7+incompatible/template/generated_options.go (about)

     1  // Code generated by "stringer -type=Options -output generated_options.go"; DO NOT EDIT.
     2  
     3  package template
     4  
     5  import "strconv"
     6  
     7  const _Options_name = "RazorExtensionMathSprigDataLoggingRuntimeUtilsNetOSOptionOnByDefaultCountOverwriteOutputStdoutRenderingDisabledAcceptNoValueStrictErrorCheck"
     8  
     9  var _Options_index = [...]uint8{0, 5, 14, 18, 23, 27, 34, 41, 46, 49, 51, 73, 82, 94, 111, 124, 140}
    10  
    11  func (i Options) String() string {
    12  	if i < 0 || i >= Options(len(_Options_index)-1) {
    13  		return "Options(" + strconv.FormatInt(int64(i), 10) + ")"
    14  	}
    15  	return _Options_name[_Options_index[i]:_Options_index[i+1]]
    16  }