generator

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assets

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

func AssetsFromDir

func AssetsFromDir(p string) (*Assets, error)

func (*Assets) GetImageAsset

func (a *Assets) GetImageAsset(image string) string

func (*Assets) GetTags

func (a *Assets) GetTags(rPath string) []string

type Generator

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

func New

func New(cfg *config.Config) *Generator

func (*Generator) Analyze

func (g *Generator) Analyze() error

func (*Generator) Generate

func (g *Generator) Generate() error

func (*Generator) Shutdown

func (g *Generator) Shutdown()

func (*Generator) Watch

func (g *Generator) Watch(ctx context.Context) error

func (*Generator) Webpack

func (g *Generator) Webpack() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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