init

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	Logger   *slog.Logger
	Template *template.Template
	TaskName string
}

func New

func New(logger *slog.Logger, taskName string) *Generator

func (*Generator) Generate

func (g *Generator) Generate(output genall.OutputRule) error

func (*Generator) RegisterMarkers

func (*Generator) RegisterMarkers(into *markers.Registry) error

func (*Generator) RegisterTemplate

func (g *Generator) RegisterTemplate(name string, tpl string) *Generator

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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