Skip to content

Commit

Permalink
Chore: update minor comments (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
xjasonlyu authored Aug 13, 2024
1 parent 7041642 commit c447722
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ type HTTPError struct {
Message string `json:"message"`
}

// Error implements the error interface and returns a string.
func (e *HTTPError) Error() string {
if e.Message != "" {
return e.Message
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/antchfx/htmlquery v1.3.2
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de
github.com/corona10/goimagehash v1.1.0
github.com/esimov/pigo v1.4.6
github.com/esimov/pigo v1.4.7-0.20230220101645-e922e5442d38
github.com/gin-gonic/gin v1.10.0
github.com/glebarez/sqlite v1.11.0
github.com/gocolly/colly/v2 v2.1.1-0.20240605174350-99b7fb1b87d1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/disintegration/imaging v1.6.2/go.mod h1:44/5580QXChDfwIclfc/PCwrr44amcmDAg8hxG0Ewe4=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/esimov/pigo v1.4.6 h1:wpB9FstbqeGP/CZP+nTR52tUJe7XErq8buG+k4xCXlw=
github.com/esimov/pigo v1.4.6/go.mod h1:uqj9Y3+3IRYhFK071rxz1QYq0ePhA6+R9jrUZavi46M=
github.com/esimov/pigo v1.4.7-0.20230220101645-e922e5442d38 h1:8Fh3goP98b2RemxXtBEZDrAdVP3ea5lruFNcixEwXcg=
github.com/esimov/pigo v1.4.7-0.20230220101645-e922e5442d38/go.mod h1:uqj9Y3+3IRYhFK071rxz1QYq0ePhA6+R9jrUZavi46M=
github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA=
Expand Down
1 change: 0 additions & 1 deletion imageutil/register.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package imageutil

// Register Formats

import (
_ "image/gif"
_ "image/jpeg"
Expand Down

0 comments on commit c447722

Please sign in to comment.