Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Moore <moorereason@gmail.com>2017-09-26 05:25:33 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-09-29 17:23:16 +0300
commit47fdfd5196cd24a23b30afe1d88969ffb413ab59 (patch)
treee2b4dc5bb5341ab2d8588879fb733ee888b9164b /tpl/images
parentd45e358a0543d987091ef54b56eadd9cebda2e0f (diff)
Clean up lint in various packages
Changes fall into one of the following: - gofmt -s - receiver name is inconsistent - omit unused 2nd value from range - godoc comment formed incorrectly - err assigned and not used - if block ends with a return statement followed by else
Diffstat (limited to 'tpl/images')
-rw-r--r--tpl/images/images.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/images/images.go b/tpl/images/images.go
index ce29ac4d5..66999aa37 100644
--- a/tpl/images/images.go
+++ b/tpl/images/images.go
@@ -23,6 +23,7 @@ import (
_ "image/jpeg"
_ "image/png"
+ // Import webp codec
_ "golang.org/x/image/webp"
"github.com/gohugoio/hugo/deps"