Documentation
¶
Overview ¶
Package template provides pure functions for building template data maps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAuthToData ¶
AddAuthToData adds authentication state to a template data map. If data is nil, a new map is created. Returns the modified map.
func AddCSRFToData ¶
AddCSRFToData adds CSRF token to a template data map. If data is nil, a new map is created. Returns the modified map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.