type github.com/google/safehtml/template.stringConstant
14 uses
github.com/google/safehtml/template (current package)
template.go#L153: func MustParseAndExecuteToHTML(text stringConstant) safehtml.HTML {
template.go#L239: func (t *Template) Parse(text stringConstant) (*Template, error) {
template.go#L281: return t.Parse(stringConstant(tmpl.String()))
template.go#L444: type stringConstant string
template.go#L446: func stringConstantsToStrings(strs []stringConstant) []string {
template.go#L467: func ParseFiles(filenames ...stringConstant) (*Template, error) {
template.go#L500: func (t *Template) ParseFiles(filenames ...stringConstant) (*Template, error) {
template.go#L536: s := stringConstant(b)
template.go#L570: func ParseGlob(pattern stringConstant) (*Template, error) {
template.go#L601: func (t *Template) ParseGlob(pattern stringConstant) (*Template, error) {
trustedsource.go#L45: func TrustedSourceFromConstant(src stringConstant) TrustedSource {
trustedsource.go#L56: func TrustedSourceFromConstantDir(dir stringConstant, src TrustedSource, filename string) (TrustedSource, error) {
trustedsource.go#L90: func TrustedSourceFromEnvVar(key stringConstant) TrustedSource {
trustedtemplate.go#L29: func MakeTrustedTemplate(tmpl stringConstant) TrustedTemplate {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |