Documentation ¶
Overview ¶
A simple test function shared by the various test programs inside this directory (rss, atom, collada, svg etc.)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OnDocLoaded func(interface{})
)
Functions ¶
func TestViaRemarshal ¶
func TestViaRemarshal(dirPath string, makeEmptyDoc func() interface{})
Attempts to xml.Unmarshal() all files in the "infiles" sub-directory of the specified directory path into the interface{} structure returned by the specified constructor. For each such input file, then attempts to xml.MarshalIndent() said structure back into a new output XML file with the same name, in the "outfiles" sub-directory of the specified directory path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.