wolffshots / phocus

Communication app to fetch data from an inverter over serial and output to mqtt
zlib License
4 stars 1 forks source link

Generic messages and cleaned up api for message interaction #15

Closed wolffshots closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #15 (820b401) into main (a5f46ba) will decrease coverage by 13.36%. The diff coverage is 14.02%.

@@             Coverage Diff             @@
##             main      #15       +/-   ##
===========================================
- Coverage   56.63%   43.28%   -13.36%     
===========================================
  Files           6        8        +2     
  Lines         339      499      +160     
===========================================
+ Hits          192      216       +24     
- Misses        139      277      +138     
+ Partials        8        6        -2     
Impacted Files Coverage Δ
api/api.go 83.33% <ø> (ø)
messages/messages.go 0.00% <0.00%> (ø)
sensors/sensors.go 0.00% <ø> (ø)
messages/QPGSn.go 46.78% <2.00%> (-6.34%) :arrow_down:
messages/generic.go 14.54% <14.54%> (ø)
messages/QID.go 19.60% <19.60%> (ø)
crc/crc.go 100.00% <100.00%> (ø)
serial/serial.go 69.23% <100.00%> (ø)