File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11run :
22 timeout : 5m
33 tests : false
4- skip-files :
4+
5+ issues.skip-files :
56 - ' internal/config/http_config.go'
67 - ' internal/config/config.go'
78
89linters :
910 enable-all : true
1011 disable :
12+ - execinquery
13+ - exportloopref
14+ - godot
1115 - cyclop
1216 - depguard
1317 - dupl
14- - exhaustivestruct
1518 - exhaustruct
1619 - forbidigo
1720 - forcetypeassert
1821 - gci
1922 - gochecknoglobals
2023 - gochecknoinits
2124 - godox
22- - goerr113
25+ - err113
2326 - gofumpt
2427 - gomnd
2528 - mnd
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ func loadFromEnv(config interface{}) {
3838 configValue := reflect .ValueOf (config ).Elem ()
3939 configType := configValue .Type ()
4040
41- for i := 0 ; i < configValue .NumField (); i ++ {
41+ for i := range configValue .NumField () {
4242 field := configType .Field (i )
4343 tag := field .Tag .Get ("env" )
4444
Original file line number Diff line number Diff line change 11module github.com/NETWAYS/check_elasticsearch
22
3- go 1.21
3+ go 1.22
44
55require (
66 github.com/NETWAYS/go-check v0.6.2
You can’t perform that action at this time.
0 commit comments