generator

package
v0.0.0-...-b9ceb1f Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(conf Config) error

Generate embedded files from a configuration.

Types

type Config

type Config struct {
	RootPath       string
	TrimRootPath   bool
	Recurse        bool
	IncludePattern string

	ExcludePattern string

	OutputPath          string
	PackageName         string
	BuildConstraints    string
	DevOutputPath       string
	DevBuildConstraints string

	MinifyTypes map[string]string // Pattern -> content type

	CompressPattern string

	NoCompressPattern string

	OverrideModDate bool
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() Config

Jump to

Keyboard shortcuts

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