type github.com/google/safehtml.TrustedResourceURL
26 uses
github.com/google/safehtml (current package)
init.go#L42: func trustedResourceURLRaw(s string) TrustedResourceURL {
init.go#L43: return TrustedResourceURL{s}
trustedresourceurl.go#L43: type TrustedResourceURL struct {
trustedresourceurl.go#L53: func TrustedResourceURLWithParams(t TrustedResourceURL, params map[string]string) TrustedResourceURL {
trustedresourceurl.go#L82: return TrustedResourceURL{url + fragment}
trustedresourceurl.go#L91: func TrustedResourceURLFromConstant(url stringConstant) TrustedResourceURL {
trustedresourceurl.go#L92: return TrustedResourceURL{string(url)}
trustedresourceurl.go#L111: func TrustedResourceURLFormatFromConstant(format stringConstant, args map[string]string) (TrustedResourceURL, error) {
trustedresourceurl.go#L121: func TrustedResourceURLFormatFromFlag(format flag.Value, args map[string]string) (TrustedResourceURL, error) {
trustedresourceurl.go#L125: func trustedResourceURLFormat(format string, args map[string]string) (TrustedResourceURL, error) {
trustedresourceurl.go#L127: return TrustedResourceURL{}, fmt.Errorf("%q is a disallowed TrustedResourceURL format string", format)
trustedresourceurl.go#L151: return TrustedResourceURL{ret}, err
trustedresourceurl.go#L163: func TrustedResourceURLFromFlag(value flag.Value) TrustedResourceURL {
trustedresourceurl.go#L164: return TrustedResourceURL{fmt.Sprint(value.String())}
trustedresourceurl.go#L168: func (t TrustedResourceURL) String() string {
trustedresourceurl.go#L183: func TrustedResourceURLAppend(t TrustedResourceURL, s string) (TrustedResourceURL, error) {
trustedresourceurl.go#L185: return TrustedResourceURL{}, fmt.Errorf("cannot append to TrustedResourceURL %q because it has an unsafe prefix", t)
trustedresourceurl.go#L187: return TrustedResourceURL{t.str + safehtmlutil.QueryEscapeURL(s)}, nil
github.com/google/safehtml/legacyconversions
legacyconversions.go#L29: var trustedResourceURL = raw.TrustedResourceURL.(func(string) safehtml.TrustedResourceURL)
legacyconversions.go#L64: func RiskilyAssumeTrustedResourceURL(s string) safehtml.TrustedResourceURL {
github.com/google/safehtml/template
sanitizers.go#L607: if safeTypeValue, ok := safehtmlutil.Indirect(args[0]).(safehtml.TrustedResourceURL); ok {
sanitizers.go#L617: case safehtml.TrustedResourceURL, safehtml.URL:
github.com/google/safehtml/uncheckedconversions
uncheckedconversions.go#L34: var trustedResourceURL = raw.TrustedResourceURL.(func(string) safehtml.TrustedResourceURL)
uncheckedconversions.go#L123: func TrustedResourceURLFromStringKnownToSatisfyTypeContract(s string) safehtml.TrustedResourceURL {
 |
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. |