Add linter structcheck (#537)

This commit is contained in:
Lukas 2021-11-26 00:27:43 +01:00 committed by GitHub
parent 71485a8a3f
commit fb333a3b1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,9 @@ linters:
- misspell
- whitespace
- staticcheck
- structcheck
- varcheck
run:
timeout: 5m

View file

@ -31,7 +31,6 @@ type stream struct {
list []*Entry
subs map[*subscriber]struct{}
done chan struct{}
wait sync.WaitGroup
}
type log struct {

View file

@ -21,7 +21,6 @@ const (
type entry struct {
item *Task
done chan bool
retry int
error error
deadline time.Time
}