templates

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Collections = template.Must(template.New(
	"mog-codegen-collections").Delims("[[", "]]").Parse(collectionsTmplRaw))
View Source
var Config = template.Must(template.New(
	"mog-init-config").Parse(configTmplRaw))
View Source
var Models = template.Must(template.New(
	"mog-codegen-models").Delims("[[", "]]").Parse(modelsTmplRaw))

Functions

func WriteDefaultConfig

func WriteDefaultConfig(filename string)

func WriteFormattedOutput

func WriteFormattedOutput(
	input interface{},
	tmpl *template.Template,
	filename string,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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