mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-24 15:52:38 +02:00
skip deprecated
This commit is contained in:
parent
8233d067ef
commit
79e20ca622
@ -39,6 +39,7 @@ func (e *EPUBZip) Close() error {
|
||||
// This will be valid with epubcheck tools.
|
||||
func (e *EPUBZip) WriteMagic() error {
|
||||
t := time.Now().UTC()
|
||||
//goland:noinspection GoDeprecation
|
||||
fh := &zip.FileHeader{
|
||||
Name: "mimetype",
|
||||
Method: zip.Store,
|
||||
|
@ -52,6 +52,7 @@ func CompressImage(filename string, format string, img image.Image, quality int)
|
||||
}
|
||||
|
||||
t := time.Now()
|
||||
//goland:noinspection GoDeprecation
|
||||
return &ZipImage{
|
||||
&zip.FileHeader{
|
||||
Name: filename,
|
||||
|
Loading…
x
Reference in New Issue
Block a user