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 - misspell
- whitespace - whitespace
- staticcheck - staticcheck
- structcheck
- varcheck - varcheck
run: run:
timeout: 5m timeout: 5m

View file

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

View file

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