fix(lint): use default:none to disable errcheck, fix all gofmt and exhaustive
This commit is contained in:
parent
4426219f35
commit
aed5f0475d
24 changed files with 74 additions and 77 deletions
|
|
@ -21,7 +21,7 @@ import (
|
|||
// activeDownload holds the state for a single in-progress usenet download.
|
||||
type activeDownload struct {
|
||||
cancel context.CancelFunc
|
||||
taskDir string // populated after MkdirAll; empty before
|
||||
taskDir string // populated after MkdirAll; empty before
|
||||
tracker *download.ProgressTracker // populated after tracker creation; nil before
|
||||
}
|
||||
|
||||
|
|
@ -471,4 +471,3 @@ func sanitizeDir(name string) string {
|
|||
}
|
||||
return name
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue