codegen

package
v0.413.4 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratedFile

type GeneratedFile struct {
	Contents string
	Path     string
}

type GeneratedFiles

type GeneratedFiles []*GeneratedFile

GeneratedFiles represents a collection of files due to be generated as part of code generation You can append any number of files to an instance of GeneratedFiles like so: files := GeneratedFiles{} files = append(files, &GeneratedFile{...}) And then once you are ready to write these files to disk, you can call write: files.Write(dir)

func (GeneratedFiles) Write

func (files