mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
Apply gofmt -s
This commit is contained in:
1 parent
bef34597f4
commit
befb54da46
2 files changed
+3
-4
No files matched your search
@@ -1225,4 +1225,3 @@ func TestSafeURL(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,9 +49,9 @@ type prefix struct {
|
|||||||
// - the matches array above must be expanded.
|
// - the matches array above must be expanded.
|
||||||
// - the prefix must with the current logic end with '='
|
// - the prefix must with the current logic end with '='
|
||||||
var prefixes = []*prefix{
|
var prefixes = []*prefix{
|
||||||
&prefix{r: []rune{'s', 'r', 'c', '='}, f: checkCandidateBase},
|
{r: []rune{'s', 'r', 'c', '='}, f: checkCandidateBase},
|
||||||
&prefix{r: []rune{'h', 'r', 'e', 'f', '='}, f: checkCandidateBase},
|
{r: []rune{'h', 'r', 'e', 'f', '='}, f: checkCandidateBase},
|
||||||
&prefix{r: []rune{'s', 'r', 'c', 's', 'e', 't', '='}, f: checkCandidateSrcset},
|
{r: []rune{'s', 'r', 'c', 's', 'e', 't', '='}, f: checkCandidateSrcset},
|
||||||
}
|
}
|
||||||
|
|
||||||
type absURLMatcher struct {
|
type absURLMatcher struct {
|
||||||
|
|||||||
Reference in new issue
Block a user