lint and fmt
This commit is contained in:
1 parent
f3152b6f44
commit
569037d29f
2 files changed
+2
-2
No files matched your search
@@ -92,7 +92,7 @@ func TestSimpleMap(t *testing.T) {
|
|||||||
skippage = p
|
skippage = p
|
||||||
}
|
}
|
||||||
if p.Skipped {
|
if p.Skipped {
|
||||||
skipped += 1
|
skipped++
|
||||||
}
|
}
|
||||||
children += len(p.Children)
|
children += len(p.Children)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
errContentTypeNotFound = errors.New("no Content-Type header found")
|
errContentTypeNotFound = errors.New("no Content-Type header found")
|
||||||
errFetchError = errors.New("couldn't fetch page")
|
errFetchError = errors.New("couldn't fetch page")
|
||||||
)
|
)
|
||||||
|
|
||||||
// fetchFiletype performs an http HEAD to get the media type, and sets it
|
// fetchFiletype performs an http HEAD to get the media type, and sets it
|
||||||
|
|||||||
Reference in new issue
Block a user