summaryrefslogtreecommitdiffstats
path: root/tpl/images
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-06-13 19:07:35 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-06-13 19:12:10 +0200
commit873a6f18851bcda79d562ff6c02e1109e8e31a88 (patch)
treedd6bc11de530ad9fc05be0ff1d0b3c84afb67b5e /tpl/images
parentf503d76a3b2719bbb65ab9df5595d0dbc871fae9 (diff)
Run gofmt to get imports in line vs gohugoio/hugo
Diffstat (limited to 'tpl/images')
-rw-r--r--tpl/images/images.go2
-rw-r--r--tpl/images/images_test.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/tpl/images/images.go b/tpl/images/images.go
index 69bc77a34..f98c24286 100644
--- a/tpl/images/images.go
+++ b/tpl/images/images.go
@@ -23,8 +23,8 @@ import (
_ "image/jpeg"
_ "image/png"
- "github.com/spf13/cast"
"github.com/gohugoio/hugo/deps"
+ "github.com/spf13/cast"
)
// New returns a new instance of the images-namespaced template functions.
diff --git a/tpl/images/images_test.go b/tpl/images/images_test.go
index 6fa93b106..c9b78ea9a 100644
--- a/tpl/images/images_test.go
+++ b/tpl/images/images_test.go
@@ -22,10 +22,10 @@ import (
"path/filepath"
"testing"
- "github.com/spf13/afero"
- "github.com/spf13/cast"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/hugofs"
+ "github.com/spf13/afero"
+ "github.com/spf13/cast"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"