diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-05-25 12:54:12 +0200 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-05-25 12:54:13 +0200 |
commit | befb54da46659e6678fcd2504cbe5c5fbb9e62b8 (patch) | |
tree | 01ac67bf32083b2cf41eb39e91864ab5e15251d9 /transform/absurlreplacer.go | |
parent | bef34597f475762737ea506197c6f249457c18a6 (diff) |
Apply gofmt -s
Diffstat (limited to 'transform/absurlreplacer.go')
-rw-r--r-- | transform/absurlreplacer.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/transform/absurlreplacer.go b/transform/absurlreplacer.go index 35f02ade3..b9a8f3a69 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 { |