codegen

package
v1.28.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelCaseToSnakeCase

func CamelCaseToSnakeCase(s string) string

func FatalIfErr

func FatalIfErr(err error)

func Fatalf

func Fatalf(format string, v ...any)

func GenerateTemplateToFile

func GenerateTemplateToFile(
	tmpl string,
	data any,
	outPath string,
	outFileName string,
)

func GenerateTemplateToWriter

func GenerateTemplateToWriter(tmpl string, data any, w io.Writer) error

func GenerateToFile

func GenerateToFile[T any](
	generator func(io.Writer, T) error,
	generatorArg T,
	outPath string,
	outFileName string,
)

func IsASCIIUpper

func IsASCIIUpper(c rune) bool

func SnakeCaseToPascalCase

func SnakeCaseToPascalCase(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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