codegen

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildModelFile added in v0.0.2

func BuildModelFile(config core.Config, name string, model []core.QueryReturn) (string, []byte, error)

func BuildQueriesFile

func BuildQueriesFile(config core.Config, queryFilename string, queries []core.Query, embeddedModels core.EmbeddedModels) (string, []byte, error)

Types

type IndentStringBuilder

type IndentStringBuilder struct {
	strings.Builder
	// contains filtered or unexported fields
}

func NewIndentStringBuilder

func NewIndentStringBuilder(indentChar string, charsPerIndentLevel int) *IndentStringBuilder

func (*IndentStringBuilder) WriteIndentedString

func (b *IndentStringBuilder) WriteIndentedString(level int, s string) int

Jump to

Keyboard shortcuts

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