generator

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	Adapter string

	Templates map[string]*template.Template
	// contains filtered or unexported fields
}

func (*Generator) CreateFile

func (g *Generator) CreateFile(f string, tpl *template.Template, data interface{}) error

func (*Generator) Generate

func (g *Generator) Generate(schema *schema.Schema) error

func (*Generator) LoadTemplates

func (g *Generator) LoadTemplates(src embed.FS, adapter string) error

load template files from go embed

Directories

Path Synopsis
client

Jump to

Keyboard shortcuts

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