From befb54da46659e6678fcd2504cbe5c5fbb9e62b8 Mon Sep 17 00:00:00 2001
From: bep <bjorn.erik.pedersen@gmail.com>
Date: Mon, 25 May 2015 12:54:12 +0200
Subject: [PATCH] Apply gofmt -s

---
 tpl/template_funcs_test.go  | 1 -
 transform/absurlreplacer.go | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/tpl/template_funcs_test.go b/tpl/template_funcs_test.go
index b1d611c1..cedbf0f3 100644
--- a/tpl/template_funcs_test.go
+++ b/tpl/template_funcs_test.go
@@ -1225,4 +1225,3 @@ func TestSafeURL(t *testing.T) {
 		}
 	}
 }
-
diff --git a/transform/absurlreplacer.go b/transform/absurlreplacer.go
index 35f02ade..b9a8f3a6 100644
--- a/transform/absurlreplacer.go
+++ b/transform/absurlreplacer.go
@@ -49,9 +49,9 @@ type prefix struct {
 // - the matches array above must be expanded.
 // - the prefix must with the current logic end with '='
 var prefixes = []*prefix{
-	&prefix{r: []rune{'s', 'r', 'c', '='}, f: checkCandidateBase},
-	&prefix{r: []rune{'h', 'r', 'e', 'f', '='}, f: checkCandidateBase},
-	&prefix{r: []rune{'s', 'r', 'c', 's', 'e', 't', '='}, f: checkCandidateSrcset},
+	{r: []rune{'s', 'r', 'c', '='}, f: checkCandidateBase},
+	{r: []rune{'h', 'r', 'e', 'f', '='}, f: checkCandidateBase},
+	{r: []rune{'s', 'r', 'c', 's', 'e', 't', '='}, f: checkCandidateSrcset},
 }
 
 type absURLMatcher struct {
-- 
2.30.2