Documentation ¶
Overview ¶
The generator package defines code generators for Babel. IDL files describe models and web services. The generator package defines generators for the supported languages. This allows each language to have its own approach to generating code.
For more information, see the README.md file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocateTemplateDir ¶
func LocateTemplateDir() string
LocateTemplateDir determines the default template folder based on the location of the currently running executable.
Types ¶
type Arguments ¶
type Arguments struct { TemplateDir string OutputDir string Scopes []string GenServer bool GenClient bool GenModel bool ServerType string Options map[string]string }
Arguments holds the intialization data needed by the generators.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.