gomonop/pkg/perfdata
Emmanuel BENOîT 78af496fe9
All checks were successful
Run tests and linters / test (push) Successful in 44s
Run tests and linters / build (push) Successful in 47s
Run tests and linters / lint (push) Successful in 1m20s
refactor: make internals easier to test and add unit tests (#2)
This PR refactors most of the internals to make them easier to test (and also because the names didn't make sense). It adds unit tests for all internal components.

Reviewed-on: #2
Co-authored-by: Emmanuel BENOÎT <tseeker@nocternity.net>
Co-committed-by: Emmanuel BENOÎT <tseeker@nocternity.net>
2024-07-20 10:01:05 +02:00
..
internals.go refactor: make internals easier to test and add unit tests (#2) 2024-07-20 10:01:05 +02:00
internals_test.go refactor: make internals easier to test and add unit tests (#2) 2024-07-20 10:01:05 +02:00
perfdata.go refactor: make internals easier to test and add unit tests (#2) 2024-07-20 10:01:05 +02:00
perfdata_test.go refactor: make internals easier to test and add unit tests (#2) 2024-07-20 10:01:05 +02:00
range.go refactor: make internals easier to test and add unit tests (#2) 2024-07-20 10:01:05 +02:00
range_test.go refactor: make internals easier to test and add unit tests (#2) 2024-07-20 10:01:05 +02:00
units.go refactor: make internals easier to test and add unit tests (#2) 2024-07-20 10:01:05 +02:00
units_test.go refactor: make internals easier to test and add unit tests (#2) 2024-07-20 10:01:05 +02:00