Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cfg = Config{
Pkg: "schema",
Version: "0.1.0",
}
Cfg are the default config for xgen. The default package name and output directory are "schema" and "xgen_out".
View Source
var SupportLang = map[string]bool{ "Go": true, "C": true, "Java": true, "Rust": true, "TypeScript": true, }
SupportLang defines supported language types.
Functions ¶
func ConvertXSDtoCode ¶
func ConvertXSDtoCode(xsdFileName, targetCodeFileName, targetLanguage string)
Types ¶
Click to show internal directories.
Click to hide internal directories.