refact(pkg): adapt go dependancies

This commit is contained in:
2019-06-15 15:58:41 +02:00
parent 05cd62c624
commit 518855bedf
25 changed files with 47 additions and 54 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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"
)

View File

@ -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 {

View File

@ -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