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