Apply gofmt -s

This commit is contained in:
bep 2015-05-25 12:54:12 +02:00
parent bef34597f4
commit befb54da46
2 changed files with 3 additions and 4 deletions

View file

@ -1225,4 +1225,3 @@ func TestSafeURL(t *testing.T) {
}
}
}

View file

@ -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 {