controllers

package
v8.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2017 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteTemplate

func ExecuteTemplate(ctx context.Context, tmpl templates.Partial)

ExecuteTemplate renders a "tmpl" partial template to the `context#ResponseWriter`.

func Hello

func Hello(ctx context.Context)

Hello renders our ../templates/hello.qtpl file using the compiled ../templates/hello.qtpl.go file.

func Index

func Index(ctx context.Context)

Index renders our ../templates/index.qtpl file using the compiled ../templates/index.qtpl.go file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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