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:
parent
71485a8a3f
commit
fb333a3b1b
@ -18,7 +18,9 @@ linters:
|
||||
- misspell
|
||||
- whitespace
|
||||
- staticcheck
|
||||
- structcheck
|
||||
- varcheck
|
||||
|
||||
run:
|
||||
timeout: 5m
|
||||
|
||||
|
@ -31,7 +31,6 @@ type stream struct {
|
||||
list []*Entry
|
||||
subs map[*subscriber]struct{}
|
||||
done chan struct{}
|
||||
wait sync.WaitGroup
|
||||
}
|
||||
|
||||
type log struct {
|
||||
|
@ -21,7 +21,6 @@ const (
|
||||
type entry struct {
|
||||
item *Task
|
||||
done chan bool
|
||||
retry int
|
||||
error error
|
||||
deadline time.Time
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user