crowdsec/pkg/cwhub
mmetc 89028f17cf
Refact pkg/cwhub (part 3) (#2516)
* removed unused error; comment
* rename loop variables
* happy path
* rename loop variables
* extract function, method
* log.Printf -> log.Infof
* tests -> testdata

from "go help test":

The go tool will ignore a directory named "testdata", making it available
to hold ancillary data needed by the tests.

* align tags
* extract function toEmoji
2023-10-04 12:54:21 +02:00
..
testdata Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
cwhub.go Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
cwhub_test.go Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
dataset.go lint: pkg/cwhub (#2510) 2023-10-03 11:20:56 +02:00
dataset_test.go lint: pkg/cwhub (#2510) 2023-10-03 11:20:56 +02:00
download.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00
download_test.go lint: pkg/cwhub (#2510) 2023-10-03 11:20:56 +02:00
helpers.go lint: pkg/cwhub (#2510) 2023-10-03 11:20:56 +02:00
helpers_test.go Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
install.go Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
loader.go Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
pathseparator.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00
pathseparator_windows.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00