var htmlSafeSet … var safeSet … var hex … // WriteStringWithHTMLEscaped write string to stream with html special characters escaped func (stream *Stream) WriteStringWithHTMLEscaped(s string) { … } func writeStringSlowPathWithHTMLEscaped(stream *Stream, i int, s string, valLen int) { … } // WriteString write string to stream without html escape func (stream *Stream) WriteString(s string) { … } func writeStringSlowPath(stream *Stream, i int, s string, valLen int) { … }