lib

package
v0.0.0-...-92a274e Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2016 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsQuote

func JsQuote(s string) string

JsQuote converts a string to a JavaScript string constant.

func ParseAndEscapeTemplate

func ParseAndEscapeTemplate(name, body string) (*template.Template, error)

ParseAndEscapeTemplate parses a Go template and executes the template once to make sure that the escaping functions from the html/template module are installed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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