html

package
v3.9.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenerator

func NewGenerator(options map[string]string) generator.ProgramGenerator

NewGenerator creates a new HTML ProgramGenerator.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator implements the ProgramGenerator interface for HTML.

func (*Generator) DefaultOutputDir

func (g *Generator) DefaultOutputDir() string

func (*Generator) Generate

func (g *Generator) Generate(frugal *parser.Frugal, outputDir string) error

func (*Generator) GetOutputDir

func (g *Generator) GetOutputDir(dir string, frugal *parser.Frugal) string

func (*Generator) UseVendor

func (g *Generator) UseVendor() bool

type Modules

type Modules []*parser.Frugal

func (Modules) Len

func (m Modules) Len() int

func (Modules) Less

func (m Modules) Less(i, j int) bool

func (Modules) Swap

func (m Modules) Swap(i, j int)

Jump to

Keyboard shortcuts

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