From ea85d820ebbd41049aaaf757aaf9f16f3ce36d0f Mon Sep 17 00:00:00 2001 From: celogeek <65178+celogeek@users.noreply.github.com> Date: Fri, 9 Feb 2024 18:36:10 +0200 Subject: [PATCH] fix grammar --- internal/epub/tree/epub_tree.go | 2 +- internal/epub/zip/epub_zip.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/epub/tree/epub_tree.go b/internal/epub/tree/epub_tree.go index 898fb57..a6557b6 100644 --- a/internal/epub/tree/epub_tree.go +++ b/internal/epub/tree/epub_tree.go @@ -44,7 +44,7 @@ func (n *tree) Root() *node { return n.Nodes["."] } -// Add add the filename to the tree +// Add the filename to the tree func (n *tree) Add(filename string) { cn := n.Root() cp := "" diff --git a/internal/epub/zip/epub_zip.go b/internal/epub/zip/epub_zip.go index b9d1167..207d958 100644 --- a/internal/epub/zip/epub_zip.go +++ b/internal/epub/zip/epub_zip.go @@ -26,7 +26,7 @@ func New(path string) (*EPUBZip, error) { return &EPUBZip{w, wz}, nil } -// Close close compress pipe and file. +// Close compress pipe and file. func (e *EPUBZip) Close() error { if err := e.wz.Close(); err != nil { return err