mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
lint: gocritic/typeDefFirst (ensure type definitions come before methods) (#3404)
* lint: gocritic/typeDefFirst (ensure type definitions come before methods) * lint
This commit is contained in:
parent
6f737a71f1
commit
5136d928ed
12 changed files with 80 additions and 65 deletions
|
@ -16,7 +16,7 @@ import (
|
|||
)
|
||||
|
||||
//nolint:dupword
|
||||
var fakeSystemctlOutput = `UNIT FILE STATE VENDOR PRESET
|
||||
const fakeSystemctlOutput = `UNIT FILE STATE VENDOR PRESET
|
||||
crowdsec-setup-detect.service enabled enabled
|
||||
apache2.service enabled enabled
|
||||
apparmor.service enabled enabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue