func CompareGoldenXML(t *testing.T, expectedFn string, got []byte)
func CompareGoldenZip(t *testing.T, expectedFn string, got []byte)
func CompareGoldenZipFilesOnly(t *testing.T, expectedFn string, got []byte)
func CompareZip(t *testing.T, expectedFn string, got []byte, cmpFileContents bool)
func ValidateDocument(file string) (bool, error)
ValidateDocument validates the document using the openxml-validator.
ValidationResult is a struct that holds the result of the validation.
type ValidationResult struct { File string `json:"file"` Result bool `json:"result"` Note string `json:"note"` }