diff --git a/internal/epub/zip/epub_zip.go b/internal/epub/zip/epub_zip.go index 28e0890..5c32b33 100644 --- a/internal/epub/zip/epub_zip.go +++ b/internal/epub/zip/epub_zip.go @@ -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, diff --git a/internal/epub/zip/epub_zip_image.go b/internal/epub/zip/epub_zip_image.go index ad1f0b4..060cb86 100644 --- a/internal/epub/zip/epub_zip_image.go +++ b/internal/epub/zip/epub_zip_image.go @@ -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,