type github.com/google/safehtml/template.TrustedTemplate
10 uses
github.com/google/safehtml/template (current package)
init.go#L21: func trustedTemplateRaw(s string) TrustedTemplate {
init.go#L22: return TrustedTemplate{s}
template.go#L280: func (t *Template) ParseFromTrustedTemplate(tmpl TrustedTemplate) (*Template, error) {
trustedtemplate.go#L17: type TrustedTemplate struct {
trustedtemplate.go#L29: func MakeTrustedTemplate(tmpl stringConstant) TrustedTemplate {
trustedtemplate.go#L30: return TrustedTemplate{string(tmpl)}
trustedtemplate.go#L34: func (t TrustedTemplate) String() string {
github.com/google/safehtml/template/uncheckedconversions
uncheckedconversions.go#L20: var trustedTemplate = raw.TrustedTemplate.(func(string) template.TrustedTemplate)
uncheckedconversions.go#L30: func TrustedTemplateFromStringKnownToSatisfyTypeContract(s string) template.TrustedTemplate {
golang.org/x/pkgsite/internal/frontend
server.go#L305: messageTemplate template.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. |