Documentation ¶
Index ¶
- func CreateInputJSON(baseDir string) error
- func CreateSchemaFile(xmlFilepath string) error
- func CreateXMLFile(absFilepath, name string, numPersons int, options ...CreateXMLFileOptions) error
- func GenXML(xmlData xml_data.Root, writer io.Writer) error
- func GenXMLData(name string, persons []*person.Person) xml_data.Root
- func GetInputPersonData(inputJSONFilepath string) *person.Person
- func GetJSONSchema() string
- func GetXMLSchema() string
- func ReadInputJSON(inputJSONFilepath string) ([]byte, error)
- type CreateXMLFileOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateInputJSON ¶
func CreateSchemaFile ¶
func CreateXMLFile ¶
func CreateXMLFile(absFilepath, name string, numPersons int, options ...CreateXMLFileOptions) error
func GetInputPersonData ¶
func GetJSONSchema ¶
func GetJSONSchema() string
func GetXMLSchema ¶
func GetXMLSchema() string
func ReadInputJSON ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.