Render

Renders a view with data and sends a text/html response. By default Render uses the default Go Template engine. If you want to use another View engine, please take a look at our Template middleware.

  1. c.Render(file string, data interface{}, layout ...string) error