Source File
urlpart_string.go
Belonging Package
html/template
// Code generated by "stringer -type urlPart"; 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{}
_ = [urlPartNone-0]
_ = [urlPartPreQuery-1]
_ = [urlPartQueryOrFrag-2]
_ = [urlPartUnknown-3]
}
const _urlPart_name = "urlPartNoneurlPartPreQueryurlPartQueryOrFragurlPartUnknown"
var _urlPart_index = [...]uint8{0, 11, 26, 44, 58}
func ( urlPart) () string {
if >= urlPart(len(_urlPart_index)-1) {
return "urlPart(" + strconv.FormatInt(int64(), 10) + ")"
}
return _urlPart_name[_urlPart_index[]:_urlPart_index[+1]]
}
The pages are generated with Golds v0.6.9-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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |