codegen

package
v0.20.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckErrors

func CheckErrors(loaded []*packages.Package, skip func(fileName string) bool) error

func FormatJenFile

func FormatJenFile(file *jen.File) ([]byte, error)

FormatJenFile formats the given *jen.File with goimports and return a slice of byte corresponding to the formatted file.

func GeneratedInSqlparser

func GeneratedInSqlparser(filename string) bool

func GoImports

func GoImports(fullPath string) error

func SaveJenFile

func SaveJenFile(fullPath string, file *jen.File) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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