type CSS … type HTML … type HTMLAttr … type JS … type JSStr … type URL … type Srcset … type contentType … const contentTypePlain … const contentTypeCSS … const contentTypeHTML … const contentTypeHTMLAttr … const contentTypeJS … const contentTypeJSStr … const contentTypeURL … const contentTypeSrcset … const contentTypeUnsafe … // indirect returns the value, after dereferencing as many times // as necessary to reach the base type (or nil). func indirect(a any) any { … } var errorType … var fmtStringerType … // indirectToStringerOrError returns the value, after dereferencing as many times // as necessary to reach the base type (or nil) or an implementation of fmt.Stringer // or error. func indirectToStringerOrError(a any) any { … } // stringify converts its arguments to a string and the type of the content. // All pointers are dereferenced, as in the text/template package. func stringify(args ...any) (string, contentType) { … }