fix grammar

This commit is contained in:
Celogeek 2024-02-09 18:36:10 +02:00
parent 139acd864b
commit ea85d820eb
Signed by: celogeek
SSH Key Fingerprint: SHA256:DEDfxIK2nUWXbslbRkww3zsauDjhWHlTXar+ak4lDJ4
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ func (n *tree) Root() *node {
return n.Nodes["."] return n.Nodes["."]
} }
// Add add the filename to the tree // Add the filename to the tree
func (n *tree) Add(filename string) { func (n *tree) Add(filename string) {
cn := n.Root() cn := n.Root()
cp := "" cp := ""

View File

@ -26,7 +26,7 @@ func New(path string) (*EPUBZip, error) {
return &EPUBZip{w, wz}, nil return &EPUBZip{w, wz}, nil
} }
// Close close compress pipe and file. // Close compress pipe and file.
func (e *EPUBZip) Close() error { func (e *EPUBZip) Close() error {
if err := e.wz.Close(); err != nil { if err := e.wz.Close(); err != nil {
return err return err