chore: minor (#32748)
This commit is contained in:
parent
c1a7b33302
commit
3189e011f2
1 changed files with 0 additions and 4 deletions
|
|
@ -65,10 +65,6 @@ func NewAccumulator(opt ...func(*Accumulator)) *Accumulator {
|
|||
return m
|
||||
}
|
||||
|
||||
func (m *Accumulator) Updated() time.Time {
|
||||
return m.updated
|
||||
}
|
||||
|
||||
func (m *Accumulator) String() string {
|
||||
b := new(bytes.Buffer)
|
||||
fmt.Fprintf(b, "Accumulated: %.3fkWh energy, %.3fkWh return energy, updated: %v", m.Energy, m.ReturnEnergy, m.updated.Truncate(time.Second))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue