context-view-data

command
v7.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

this example will show you how you can set per-request data for a template outside of the main handler which calls the .Render, via middleware.

Remember: .Render has the "binding" argument which can be used to send data to the template at any case.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL