package templates

import "github.com/docker/docker/utils/templates"

Index

Functions

func NewParse

func NewParse(tag, format string) (*template.Template, error)

NewParse creates a new tagged template with the basic functions and parses the given format.

func Parse

func Parse(format string) (*template.Template, error)

Parse creates a new annonymous template with the basic functions and parses the given format.

Source Files

templates.go

Version
v1.13.1-rc2
Published
Feb 6, 2017
Platform
js/wasm
Imports
3 packages
Last checked
51 minutes ago

Tools for package owners.