Source File
element_string.go
Belonging Package
html/template
// Code generated by "stringer -type element"; DO NOT EDIT.
package template
import
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var [1]struct{}
_ = [elementNone-0]
_ = [elementScript-1]
_ = [elementStyle-2]
_ = [elementTextarea-3]
_ = [elementTitle-4]
}
const _element_name = "elementNoneelementScriptelementStyleelementTextareaelementTitle"
var _element_index = [...]uint8{0, 11, 24, 36, 51, 63}
func ( element) () string {
if >= element(len(_element_index)-1) {
return "element(" + strconv.FormatInt(int64(), 10) + ")"
}
return _element_name[_element_index[]:_element_index[+1]]
}
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |