Source File
attr_string.go
Belonging Package
html/template
// Code generated by "stringer -type attr"; DO NOT EDIT.
package template
import
const _attr_name = "attrNoneattrScriptattrScriptTypeattrStyleattrURLattrSrcset"
var _attr_index = [...]uint8{0, 8, 18, 32, 41, 48, 58}
func ( attr) () string {
if >= attr(len(_attr_index)-1) {
return "attr(" + strconv.FormatInt(int64(), 10) + ")"
}
return _attr_name[_attr_index[]:_attr_index[+1]]
}
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)