func WriteContainer(book *EPUB, zipWriter *zip.Writer) error {
	file, err := zipWriter.Create("META-INF/container.xml")
	if err != nil {
		return err
	}
	_, err = file.Write([]byte(xml.Header))
	if err != nil {
		return err
	}
	encoder := xml.NewEncoder(file)
	encoder.Indent("", "  ")
	err = encoder.Encode(book.Container)
	if err != nil {
		return err
	}

	return nil
}
//WriteContainer serialize and write container file in archive
WriteContainer serialize and write container file in archive
// WriteContainer serialize and write container file in archive
func WriteContainer(book *EPUB, zipWriter *zip.Writer) error {
	file, err := zipWriter.Create("META-INF/container.xml")
	if err != nil {
		return err
	}
	_, err = file.Write([]byte(xml.Header))
	if err != nil {
		return err
	}
	encoder := xml.NewEncoder(file)
	encoder.Indent("", "  ")
	err = encoder.Encode(book.Container)
	if err != nil {
		return err
	}
	return nil
}
func WriteContainer ( book * EPUB , zipWriter * zip . Writer ) error { file , err := zipWriter . Create ( " " ) if err != nil { return err } _ , err = file . Write ( [ ] byte ( xml . Header ) ) if err != nil { return err } encoder := xml . NewEncoder ( file ) encoder . Indent ( " " , " " ) err = encoder . Encode ( book . Container ) if err != nil { return err } return nil }
WriteContainer serialize and write container file in archive
WriteContainer serialize and write container file in archive