generator

package
v1.1.45 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentGenerator

type ContentGenerator interface {
	Files() ([]*plugingo.CodeGeneratorResponse_File, error)
}

ContentGenerator is a type for generating content.

func NewContentGenerator

func NewContentGenerator(
	state *statepkg.State,
	templateBuilder provider.TemplateBuilder,
	request *Request,
) ContentGenerator

NewContentGenerator returns a new ContentGenerator.

type Request added in v1.0.9

type Request struct {
	BaseFileName string
	FilePath     func(sourceFilePath string) string
}

Jump to

Keyboard shortcuts

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