code: func (i *TemplateInspector) Flush() error {
  	if i.buffer.Len() == 0 {
  		_, err := io.WriteString(i.outputStream, "\n")
  		return err
  	}
  	_, err := io.Copy(i.outputStream, i.buffer)
  	return err
  }
docs: // Flush writes the result of inspecting all elements into the output stream.