chore: fix lint
This commit is contained in:
parent
73b7014704
commit
79c95a0dee
1 changed files with 0 additions and 7 deletions
|
|
@ -15,13 +15,6 @@ type meterEnergy struct {
|
|||
Accumulated float64 `json:"accumulated"` // kWh
|
||||
}
|
||||
|
||||
// reset resets data
|
||||
func (m *meterEnergy) reset() {
|
||||
m.updated = time.Time{}
|
||||
m.meter = nil
|
||||
m.Accumulated = 0
|
||||
}
|
||||
|
||||
func (m *meterEnergy) AccumulatedEnergy() float64 {
|
||||
return m.Accumulated
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue