The _______ package in Go provides support for text and HTML template parsing.

  • html/template
  • text/template
  • template/html
  • go/template
The correct option is text/template. The text/template package in Go provides functionality for parsing and executing text templates. It's a powerful package used for creating text-based output formats. It's commonly used in web applications for generating dynamic HTML content and other text-based formats.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *