Source File
nodetype_string.go
Belonging Package
golang.org/x/net/html
// Code generated by "stringer -type NodeType"; DO NOT EDIT.package htmlimportfunc _() {// 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{}_ = [ErrorNode-0]_ = [TextNode-1]_ = [DocumentNode-2]_ = [ElementNode-3]_ = [CommentNode-4]_ = [DoctypeNode-5]_ = [RawNode-6]_ = [scopeMarkerNode-7]}const _NodeType_name = "ErrorNodeTextNodeDocumentNodeElementNodeCommentNodeDoctypeNodeRawNodescopeMarkerNode"var _NodeType_index = [...]uint8{0, 9, 17, 29, 40, 51, 62, 69, 84}func ( NodeType) () string {:= int() - 0if < 0 || >= len(_NodeType_index)-1 {return "NodeType(" + strconv.FormatInt(int64(), 10) + ")"}return _NodeType_name[_NodeType_index[]:_NodeType_index[+1]]}
![]() |
The pages are generated with Golds v0.8.2. (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. |