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.
|
// This will be valid with epubcheck tools.
|
||||||
func (e *EPUBZip) WriteMagic() error {
|
func (e *EPUBZip) WriteMagic() error {
|
||||||
t := time.Now().UTC()
|
t := time.Now().UTC()
|
||||||
|
//goland:noinspection GoDeprecation
|
||||||
fh := &zip.FileHeader{
|
fh := &zip.FileHeader{
|
||||||
Name: "mimetype",
|
Name: "mimetype",
|
||||||
Method: zip.Store,
|
Method: zip.Store,
|
||||||
|
@ -52,6 +52,7 @@ func CompressImage(filename string, format string, img image.Image, quality int)
|
|||||||
}
|
}
|
||||||
|
|
||||||
t := time.Now()
|
t := time.Now()
|
||||||
|
//goland:noinspection GoDeprecation
|
||||||
return &ZipImage{
|
return &ZipImage{
|
||||||
&zip.FileHeader{
|
&zip.FileHeader{
|
||||||
Name: filename,
|
Name: filename,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user