package uncheckedconversions
Import Path
github.com/google/safehtml/template/uncheckedconversions (on go.dev)
Dependency Relation
imports 2 packages, and imported by one package
Involved Source Files
Package uncheckedconversions provides functions to create values of
safehtml/template types from plain strings. Use of these
functions could potentially result in safehtml/template type values that
violate their type contract, and hence result in security vulnerabilties.
Package-Level Functions (total 2, both are exported)
TrustedSourceFromStringKnownToSatisfyTypeContract converts a string into a TrustedSource.
TrustedTemplateFromStringKnownToSatisfyTypeContract converts a string into a TrustedTemplate.
Package-Level Variables (total 2, neither is exported)
![]() |
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. |