generator

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(fs afero.Fs, ui cli.UI) module.Generator

New creates a module.Generator instance.

Types

type TemplateString

type TemplateString string

TemplateString is a compilable string with text/template package

func (TemplateString) Compile

func (s TemplateString) Compile(v interface{}) (string, error)

Compile generates textual output applied a parsed template to the specified values

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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