liyujie
2025-08-28 d9927380ed7c8366f762049be9f3fee225860833
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by "stringer -type attr"; DO NOT EDIT.
 
package template
 
import "strconv"
 
const _attr_name = "attrNoneattrScriptattrScriptTypeattrStyleattrURLattrSrcset"
 
var _attr_index = [...]uint8{0, 8, 18, 32, 41, 48, 58}
 
func (i attr) String() string {
   if i >= attr(len(_attr_index)-1) {
       return "attr(" + strconv.FormatInt(int64(i), 10) + ")"
   }
   return _attr_name[_attr_index[i]:_attr_index[i+1]]
}