Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Golang = Language{ Name: "golang", Template: defaultGolangTemplate, Types: map[string]string{}, Funcs: template.FuncMap{ "Type": typestring, "Tag": tag, }, Formatter: formatGo, Importter: genGoImports, ExtName: ".go", }
Golang represents a golang language
Functions ¶
Types ¶
type Language ¶
type Language struct { Name string Template string Types map[string]string Funcs template.FuncMap Formatter func(string) (string, error) Importter func([]*schemas.Table) []string ExtName string }
Language represents a languages supported when reverse codes
func GetLanguage ¶
GetLanguage returns a language if exists
Click to show internal directories.
Click to hide internal directories.