generator

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.2.0

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