// epubWriteMimetype writes the mimetype file to an EPUB. It must be called
// before any other files are written.
epubWriteMimetype writes the mimetype file to an EPUB. It must be called
before any other files are written.
// epubWriteMimetype writes the mimetype file to an EPUB . It must be called // before any other files are written .
func epubWriteMimetype(epub *zip.Writer) error {
	w, err := epub.CreateHeader(&zip.FileHeader{
		Name:   "mimetype",
		Method: zip.Store,
	})
	if err != nil {
		return err
	}
	_, err = io.WriteString(w, "application/epub+zip")
	return err
}
func epubWriteMimetype ( epub * zip . Writer ) error { w , err := epub . CreateHeader ( & zip . FileHeader { Name : " " , Method : zip . Store , } ) if err != nil { return err } _ , err = io . WriteString ( w , " " ) return err }
epubWriteMimetype writes the mimetype file to an EPUB.
epubWriteMimetype writes the mimetype file to an EPUB .