gofmt
This commit is contained in:
parent
a58f3e8b5f
commit
e2d57edf45
@ -15,8 +15,6 @@ const (
|
||||
DurWaitRestart = 1000 * time.Millisecond
|
||||
)
|
||||
|
||||
|
||||
|
||||
// Continuously sample each configured channel, apply filter, and save result
|
||||
// in a mutex controlled shared data object, that can be accessed at any time
|
||||
// by a web-request or similar.
|
||||
|
@ -1,6 +1,5 @@
|
||||
package core
|
||||
|
||||
|
||||
type Channel struct {
|
||||
Id int `json:"id"`
|
||||
Value float64 `json:"value"`
|
||||
|
@ -1,6 +1,5 @@
|
||||
package filter
|
||||
|
||||
|
||||
func AlphaBetaFilter(arr []float64, init float64) float64 {
|
||||
|
||||
value := init
|
||||
|
Loading…
Reference in New Issue
Block a user