Safe functions
Use these functions to declare a value as safe in the context of Go’s html/template package.
Use these functions to declare a value as safe in the context of Go’s html/template package.
safe.HTMLAttr INPUT ⟼ template.HTMLAttrDeclares the given key-value pair as a safe HTML attribute. 詳しく見る »
safe.JSStr INPUT ⟼ template.JSStrDeclares the given string as a safe JavaScript string. 詳しく見る »