1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

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
}