Documentation ¶
Overview ¶
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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TrustedSourceFromStringKnownToSatisfyTypeContract ¶
func TrustedSourceFromStringKnownToSatisfyTypeContract(s string) template.TrustedSource
TrustedSourceFromStringKnownToSatisfyTypeContract converts a string into a TrustedSource.
func TrustedTemplateFromStringKnownToSatisfyTypeContract ¶
func TrustedTemplateFromStringKnownToSatisfyTypeContract(s string) template.TrustedTemplate
TrustedTemplateFromStringKnownToSatisfyTypeContract converts a string into a TrustedTemplate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.