fix: rename packages

This commit is contained in:
2019-05-12 11:57:53 +02:00
parent d3c4ca2c72
commit c5233d578a
33 changed files with 59 additions and 73 deletions
+4 -4
View File
@@ -5,12 +5,12 @@ import (
"io"
"text/tabwriter"
"git.cryptic.systems/fh-trier/go-flucky/pkg/logger"
"github.com/volker-raschek/flucky/pkg/logger"
"git.cryptic.systems/fh-trier/go-flucky/pkg/internal/temperature"
"github.com/volker-raschek/flucky/pkg/internal/temperature"
"git.cryptic.systems/fh-trier/go-flucky/pkg/config"
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
"github.com/volker-raschek/flucky/pkg/config"
"github.com/volker-raschek/flucky/pkg/types"
)
// PrintHumidities displays a list of humidities
+3 -3
View File
@@ -7,12 +7,12 @@ import (
"io"
"time"
"git.cryptic.systems/fh-trier/go-flucky/pkg/logger"
"github.com/volker-raschek/flucky/pkg/logger"
"git.cryptic.systems/fh-trier/go-flucky/pkg/sensor"
"github.com/volker-raschek/flucky/pkg/sensor"
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
uuid "github.com/satori/go.uuid"
"github.com/volker-raschek/flucky/pkg/types"
)
// FluckyConfig dasd
+1 -1
View File
@@ -1,6 +1,6 @@
package config
import "git.cryptic.systems/fh-trier/go-flucky/pkg/types"
import "github.com/volker-raschek/flucky/pkg/types"
// Remote ...
type Remote struct {
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"fmt"
"time"
"git.cryptic.systems/fh-trier/go-flucky/pkg/config"
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
"github.com/volker-raschek/flucky/pkg/config"
"github.com/volker-raschek/flucky/pkg/types"
)
// GetSensorsByTemperatures returns commulated list of sensors by temperature values
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"os"
"time"
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
"github.com/volker-raschek/flucky/pkg/types"
)
type FileLogger struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"time"
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
"github.com/volker-raschek/flucky/pkg/types"
)
type Logger interface {
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"fmt"
"time"
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
"github.com/MichaelS11/go-dht"
uuid "github.com/satori/go.uuid"
"github.com/volker-raschek/flucky/pkg/types"
)
type DHT11Sensor struct {
+1 -1
View File
@@ -4,9 +4,9 @@ import (
"fmt"
"time"
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
"github.com/MichaelS11/go-dht"
uuid "github.com/satori/go.uuid"
"github.com/volker-raschek/flucky/pkg/types"
)
type DHT22Sensor struct {
+1 -1
View File
@@ -4,8 +4,8 @@ import (
"fmt"
"time"
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
uuid "github.com/satori/go.uuid"
"github.com/volker-raschek/flucky/pkg/types"
"github.com/yryz/ds18b20"
)
+2 -2
View File
@@ -3,9 +3,9 @@ package sensor
import (
"sync"
"git.cryptic.systems/fh-trier/go-flucky/pkg/internal/errutils"
"github.com/volker-raschek/flucky/pkg/internal/errutils"
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
"github.com/volker-raschek/flucky/pkg/types"
)
type HumiditySensor interface {