Render
Renders a template with data and sends a text/html
response. By default Render
uses the default Go Template engine. If you want to use another engine, please take a look at our Template middleware.
- c.Render(file string, data interface{}) error