refact(pkg): adapt go dependancies
This commit is contained in:
@ -5,8 +5,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/MichaelS11/go-dht"
|
||||
"github.com/go-flucky/flucky/pkg/types"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
"github.com/volker-raschek/flucky/pkg/types"
|
||||
)
|
||||
|
||||
// DHT11 is a sensor to measure humidity and temperature.
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/MichaelS11/go-dht"
|
||||
"github.com/go-flucky/flucky/pkg/types"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
"github.com/volker-raschek/flucky/pkg/types"
|
||||
)
|
||||
|
||||
// DHT22 is a sensor to measure humidity and temperature.
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/go-flucky/flucky/pkg/types"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
"github.com/volker-raschek/flucky/pkg/types"
|
||||
"github.com/yryz/ds18b20"
|
||||
)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package sensor
|
||||
|
||||
import "github.com/volker-raschek/flucky/pkg/types"
|
||||
import "github.com/go-flucky/flucky/pkg/types"
|
||||
|
||||
// HumiditySensor is a interface to describe required functions to measure humidities
|
||||
type HumiditySensor interface {
|
||||
|
@ -3,9 +3,9 @@ package sensor
|
||||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/volker-raschek/flucky/pkg/internal/collect"
|
||||
"github.com/volker-raschek/flucky/pkg/internal/prittyprint"
|
||||
"github.com/volker-raschek/flucky/pkg/types"
|
||||
"github.com/go-flucky/flucky/pkg/internal/collect"
|
||||
"github.com/go-flucky/flucky/pkg/internal/prittyprint"
|
||||
"github.com/go-flucky/flucky/pkg/types"
|
||||
)
|
||||
|
||||
// ReadHumidities returns a list of measured humidities by humidity sensors
|
||||
|
Reference in New Issue
Block a user