50fbc2eec2
* CI: use staticcheck for linting This commit switches the linter for Go code from golint to staticcheck. Golint has been deprecated since last year and staticcheck is a recommended replacement. Signed-off-by: Lucas Servén Marín <lserven@gmail.com> * revendor Signed-off-by: Lucas Servén Marín <lserven@gmail.com> * cmd,pkg: fix lint warnings Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
12 lines
207 B
Go
12 lines
207 B
Go
//go:build darwin || dragonfly || freebsd || netbsd || openbsd
|
|
// +build darwin dragonfly freebsd netbsd openbsd
|
|
|
|
package lintcmd
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
var infoSignals = []os.Signal{syscall.SIGINFO}
|