fix:_renamed import path to volker-raschek
This commit is contained in:
parent
671a3eb748
commit
8cc232adc1
@ -1,6 +1,7 @@
|
|||||||
# flucky
|
# flucky
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.com/go-flucky/flucky.svg?branch=master)](https://travis-ci.com/go-flucky/flucky)
|
[![Build Status](https://travis-ci.com/volker-raschek/flucky.svg?branch=master)](https://travis-ci.com/volker-raschek/flucky)
|
||||||
|
[![codecov](https://codecov.io/gh/volker-raschek/flucky/branch/master/graph/badge.svg)](https://codecov.io/gh/volker-raschek/flucky)
|
||||||
[![Go Report Card](https://goreportcard.com/badge/github.com/volker-raschek/flucky)](https://goreportcard.com/report/github.com/volker-raschek/flucky)
|
[![Go Report Card](https://goreportcard.com/badge/github.com/volker-raschek/flucky)](https://goreportcard.com/report/github.com/volker-raschek/flucky)
|
||||||
[![GoDoc Reference](https://godoc.org/github.com/volker-raschek/flucky?status.svg)](http://godoc.org/github.com/volker-raschek/flucky)
|
[![GoDoc Reference](https://godoc.org/github.com/volker-raschek/flucky?status.svg)](http://godoc.org/github.com/volker-raschek/flucky)
|
||||||
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/flucky)](https://hub.docker.com/r/volkerraschek/flucky)
|
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/flucky)](https://hub.docker.com/r/volkerraschek/flucky)
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package compression
|
package compression
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-flucky/flucky/pkg/storage"
|
"github.com/volker-raschek/flucky/pkg/storage"
|
||||||
"github.com/go-flucky/flucky/pkg/storage/logfile"
|
"github.com/volker-raschek/flucky/pkg/storage/logfile"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package convert
|
package convert
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-flucky/flucky/pkg/storage"
|
"github.com/volker-raschek/flucky/pkg/storage"
|
||||||
"github.com/go-flucky/flucky/pkg/storage/logfile"
|
"github.com/volker-raschek/flucky/pkg/storage/logfile"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
@ -3,10 +3,10 @@ package daemon
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/cmd/internal"
|
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
|
||||||
"github.com/go-flucky/flucky/pkg/daemon"
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
"github.com/volker-raschek/flucky/cmd/internal"
|
||||||
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
|
"github.com/volker-raschek/flucky/pkg/daemon"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -6,10 +6,10 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"github.com/Masterminds/semver"
|
"github.com/Masterminds/semver"
|
||||||
"github.com/go-flucky/flucky/cmd/internal"
|
"github.com/volker-raschek/flucky/cmd/internal"
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
"github.com/go-flucky/flucky/pkg/storage/db"
|
"github.com/volker-raschek/flucky/pkg/storage/db"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,11 +5,11 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/cli"
|
"github.com/volker-raschek/flucky/pkg/cli"
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
"github.com/go-flucky/flucky/pkg/sensor"
|
"github.com/volker-raschek/flucky/pkg/sensor"
|
||||||
"github.com/go-flucky/flucky/pkg/storage"
|
"github.com/volker-raschek/flucky/pkg/storage"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,11 +5,11 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/cli"
|
"github.com/volker-raschek/flucky/pkg/cli"
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
"github.com/go-flucky/flucky/pkg/sensor"
|
"github.com/volker-raschek/flucky/pkg/sensor"
|
||||||
"github.com/go-flucky/flucky/pkg/storage"
|
"github.com/volker-raschek/flucky/pkg/storage"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,10 +5,10 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/Masterminds/semver"
|
"github.com/Masterminds/semver"
|
||||||
"github.com/go-flucky/flucky/pkg/cli"
|
"github.com/volker-raschek/flucky/pkg/cli"
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
"github.com/go-flucky/flucky/pkg/rgbled"
|
"github.com/volker-raschek/flucky/pkg/rgbled"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
24
cmd/root.go
24
cmd/root.go
@ -8,20 +8,20 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Masterminds/semver"
|
"github.com/Masterminds/semver"
|
||||||
"github.com/go-flucky/flucky/cmd/completion"
|
"github.com/volker-raschek/flucky/cmd/completion"
|
||||||
"github.com/go-flucky/flucky/cmd/compression"
|
"github.com/volker-raschek/flucky/cmd/compression"
|
||||||
"github.com/go-flucky/flucky/cmd/convert"
|
"github.com/volker-raschek/flucky/cmd/convert"
|
||||||
"github.com/go-flucky/flucky/cmd/daemon"
|
"github.com/volker-raschek/flucky/cmd/daemon"
|
||||||
"github.com/go-flucky/flucky/cmd/db"
|
"github.com/volker-raschek/flucky/cmd/db"
|
||||||
"github.com/go-flucky/flucky/cmd/humidity"
|
"github.com/volker-raschek/flucky/cmd/humidity"
|
||||||
"github.com/go-flucky/flucky/cmd/pressure"
|
"github.com/volker-raschek/flucky/cmd/pressure"
|
||||||
"github.com/go-flucky/flucky/cmd/rgbled"
|
"github.com/volker-raschek/flucky/cmd/rgbled"
|
||||||
"github.com/go-flucky/flucky/cmd/sensor"
|
"github.com/volker-raschek/flucky/cmd/sensor"
|
||||||
"github.com/go-flucky/flucky/cmd/temperature"
|
"github.com/volker-raschek/flucky/cmd/temperature"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/volker-raschek/go-logger/pkg/logger"
|
"github.com/volker-raschek/go-logger/pkg/logger"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
uuid "github.com/satori/go.uuid"
|
uuid "github.com/satori/go.uuid"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
@ -4,9 +4,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/cli"
|
"github.com/volker-raschek/flucky/pkg/cli"
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,11 +5,11 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/cli"
|
"github.com/volker-raschek/flucky/pkg/cli"
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
"github.com/go-flucky/flucky/pkg/sensor"
|
"github.com/volker-raschek/flucky/pkg/sensor"
|
||||||
"github.com/go-flucky/flucky/pkg/storage"
|
"github.com/volker-raschek/flucky/pkg/storage"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
11
go.mod
11
go.mod
@ -1,4 +1,4 @@
|
|||||||
module github.com/go-flucky/flucky
|
module github.com/volker-raschek/flucky
|
||||||
|
|
||||||
go 1.12
|
go 1.12
|
||||||
|
|
||||||
@ -7,19 +7,12 @@ require (
|
|||||||
github.com/d2r2/go-bsbmp v0.0.0-20190515110334-3b4b3aea8375
|
github.com/d2r2/go-bsbmp v0.0.0-20190515110334-3b4b3aea8375
|
||||||
github.com/d2r2/go-i2c v0.0.0-20181113114621-14f8dd4e89ce
|
github.com/d2r2/go-i2c v0.0.0-20181113114621-14f8dd4e89ce
|
||||||
github.com/d2r2/go-logger v0.0.0-20181221090742-9998a510495e
|
github.com/d2r2/go-logger v0.0.0-20181221090742-9998a510495e
|
||||||
github.com/docker/distribution v2.7.1+incompatible // indirect
|
github.com/go-flucky/flucky v0.0.0-20190714170626-0dd156f480be
|
||||||
github.com/docker/docker v1.13.1 // indirect
|
|
||||||
github.com/docker/go-connections v0.4.0 // indirect
|
|
||||||
github.com/docker/go-units v0.4.0 // indirect
|
|
||||||
github.com/go-flucky/go-dht v0.1.1
|
github.com/go-flucky/go-dht v0.1.1
|
||||||
github.com/google/uuid v1.1.1
|
|
||||||
github.com/lib/pq v1.2.0
|
github.com/lib/pq v1.2.0
|
||||||
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
|
|
||||||
github.com/pkg/errors v0.8.1 // indirect
|
|
||||||
github.com/satori/go.uuid v1.2.0
|
github.com/satori/go.uuid v1.2.0
|
||||||
github.com/spf13/cobra v0.0.3
|
github.com/spf13/cobra v0.0.3
|
||||||
github.com/stianeikeland/go-rpio v4.2.0+incompatible
|
github.com/stianeikeland/go-rpio v4.2.0+incompatible
|
||||||
github.com/stretchr/testify v1.4.0
|
github.com/stretchr/testify v1.4.0
|
||||||
github.com/volker-raschek/go-logger v0.0.0-20190924132822-0c50a64d7f26
|
github.com/volker-raschek/go-logger v0.0.0-20190924132822-0c50a64d7f26
|
||||||
golang.org/x/tools v0.0.0-20190830223141-573d9926052a // indirect
|
|
||||||
)
|
)
|
||||||
|
25
go.sum
25
go.sum
@ -8,19 +8,10 @@ github.com/d2r2/go-logger v0.0.0-20181221090742-9998a510495e h1:ZG3JBA6rPRl0xxQ+
|
|||||||
github.com/d2r2/go-logger v0.0.0-20181221090742-9998a510495e/go.mod h1:oA+9PUt8F1aKJ6o4YU1T120i7sgo1T6/1LWEEBy0BSs=
|
github.com/d2r2/go-logger v0.0.0-20181221090742-9998a510495e/go.mod h1:oA+9PUt8F1aKJ6o4YU1T120i7sgo1T6/1LWEEBy0BSs=
|
||||||
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
|
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
|
||||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/docker/distribution v2.7.1+incompatible h1:a5mlkVzth6W5A4fOsS3D2EO5BUmsJpcB+cRlLU7cSug=
|
github.com/go-flucky/flucky v0.0.0-20190714170626-0dd156f480be h1:jCs/SAXdXUA0aqvEVH0wyeGpJzYOZ1XC9Kpm5anSY5E=
|
||||||
github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
|
|
||||||
github.com/docker/docker v1.13.1 h1:IkZjBSIc8hBjLpqeAbeE5mca5mNgeatLHBy3GO78BWo=
|
|
||||||
github.com/docker/docker v1.13.1/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
|
|
||||||
github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ=
|
|
||||||
github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
|
|
||||||
github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw=
|
|
||||||
github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
|
|
||||||
github.com/go-flucky/flucky v0.0.0-20190714170626-0dd156f480be/go.mod h1:WNT729lCsTFhT6Vyvg6cG8aHV1t6p+DsA8l4omOuaos=
|
github.com/go-flucky/flucky v0.0.0-20190714170626-0dd156f480be/go.mod h1:WNT729lCsTFhT6Vyvg6cG8aHV1t6p+DsA8l4omOuaos=
|
||||||
github.com/go-flucky/go-dht v0.1.1 h1:dPz9F5D7oUaTd0GUGTvT4lBH2R043h1bkmhTlpQax1Y=
|
github.com/go-flucky/go-dht v0.1.1 h1:dPz9F5D7oUaTd0GUGTvT4lBH2R043h1bkmhTlpQax1Y=
|
||||||
github.com/go-flucky/go-dht v0.1.1/go.mod h1:Yk/cct+/u+eCS7pB/kc0tc7MrVXdFI4W15MJCj5FRUc=
|
github.com/go-flucky/go-dht v0.1.1/go.mod h1:Yk/cct+/u+eCS7pB/kc0tc7MrVXdFI4W15MJCj5FRUc=
|
||||||
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
|
|
||||||
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
|
||||||
github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
|
github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
|
||||||
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
|
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
|
||||||
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
|
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
|
||||||
@ -30,10 +21,6 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
|
|||||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||||
github.com/lib/pq v1.2.0 h1:LXpIM/LZ5xGFhOpXAQUIMM1HdyqzVYM13zNdjCEEcA0=
|
github.com/lib/pq v1.2.0 h1:LXpIM/LZ5xGFhOpXAQUIMM1HdyqzVYM13zNdjCEEcA0=
|
||||||
github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
|
github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
|
||||||
github.com/opencontainers/go-digest v1.0.0-rc1 h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ=
|
|
||||||
github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
|
|
||||||
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
|
|
||||||
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
|
||||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||||
github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=
|
github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=
|
||||||
@ -45,21 +32,11 @@ github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn
|
|||||||
github.com/stianeikeland/go-rpio v4.2.0+incompatible h1:CUOlIxdJdT+H1obJPsmg8byu7jMSECLfAN9zynm5QGo=
|
github.com/stianeikeland/go-rpio v4.2.0+incompatible h1:CUOlIxdJdT+H1obJPsmg8byu7jMSECLfAN9zynm5QGo=
|
||||||
github.com/stianeikeland/go-rpio v4.2.0+incompatible/go.mod h1:Sh81rdJwD96E2wja2Gd7rrKM+XZ9LrwvN2w4IXrqLR8=
|
github.com/stianeikeland/go-rpio v4.2.0+incompatible/go.mod h1:Sh81rdJwD96E2wja2Gd7rrKM+XZ9LrwvN2w4IXrqLR8=
|
||||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||||
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
|
|
||||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||||
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
|
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
|
||||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||||
github.com/volker-raschek/go-logger v0.0.0-20190924132822-0c50a64d7f26 h1:7xmCI9JL1pIsiv3ACpadGxpHZd96TP7pcT7iWK2IF+g=
|
github.com/volker-raschek/go-logger v0.0.0-20190924132822-0c50a64d7f26 h1:7xmCI9JL1pIsiv3ACpadGxpHZd96TP7pcT7iWK2IF+g=
|
||||||
github.com/volker-raschek/go-logger v0.0.0-20190924132822-0c50a64d7f26/go.mod h1:V4TEAy1Kx45GPlB2VvS5mVpNfSksNDDuEgk7wm7cd0k=
|
github.com/volker-raschek/go-logger v0.0.0-20190924132822-0c50a64d7f26/go.mod h1:V4TEAy1Kx45GPlB2VvS5mVpNfSksNDDuEgk7wm7cd0k=
|
||||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
|
||||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI=
|
|
||||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
|
||||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
||||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
|
||||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
|
||||||
golang.org/x/tools v0.0.0-20190830223141-573d9926052a h1:XAHT1kdPpnU8Hk+FPi42KZFhtNFEk4vBg1U4OmIeHTU=
|
|
||||||
golang.org/x/tools v0.0.0-20190830223141-573d9926052a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
|
||||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
|
||||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
|
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
|
||||||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
|
2
main.go
2
main.go
@ -5,7 +5,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/Masterminds/semver"
|
"github.com/Masterminds/semver"
|
||||||
"github.com/go-flucky/flucky/cmd"
|
"github.com/volker-raschek/flucky/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -7,8 +7,8 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"text/tabwriter"
|
"text/tabwriter"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -3,8 +3,8 @@ package cli
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@ import (
|
|||||||
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/internal/format"
|
"github.com/volker-raschek/flucky/pkg/internal/format"
|
||||||
"github.com/go-flucky/flucky/pkg/rgbled"
|
"github.com/volker-raschek/flucky/pkg/rgbled"
|
||||||
"github.com/go-flucky/flucky/pkg/sensor"
|
"github.com/volker-raschek/flucky/pkg/sensor"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
uuid "github.com/satori/go.uuid"
|
uuid "github.com/satori/go.uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package config
|
package config
|
||||||
|
|
||||||
import "github.com/go-flucky/flucky/pkg/types"
|
import "github.com/volker-raschek/flucky/pkg/types"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
humiditySensorModels = map[types.SensorModel]types.SensorModel{
|
humiditySensorModels = map[types.SensorModel]types.SensorModel{
|
||||||
|
@ -5,9 +5,9 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/storage"
|
"github.com/volker-raschek/flucky/pkg/storage"
|
||||||
"github.com/go-flucky/flucky/pkg/storage/logfile"
|
"github.com/volker-raschek/flucky/pkg/storage/logfile"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
type cacheStore struct {
|
type cacheStore struct {
|
||||||
|
@ -8,9 +8,9 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/config"
|
"github.com/volker-raschek/flucky/pkg/config"
|
||||||
"github.com/go-flucky/flucky/pkg/sensor"
|
"github.com/volker-raschek/flucky/pkg/sensor"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/volker-raschek/go-logger/pkg/logger"
|
"github.com/volker-raschek/go-logger/pkg/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ package distribute
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func MeasuredValues(ctx context.Context, channels int, inputChannel <-chan *types.MeasuredValue) []chan *types.MeasuredValue {
|
func MeasuredValues(ctx context.Context, channels int, inputChannel <-chan *types.MeasuredValue) []chan *types.MeasuredValue {
|
||||||
|
@ -3,7 +3,7 @@ package rgbled
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/stianeikeland/go-rpio"
|
"github.com/stianeikeland/go-rpio"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,9 +3,9 @@ package rgbled
|
|||||||
import (
|
import (
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/internal/collect"
|
"github.com/volker-raschek/flucky/pkg/internal/collect"
|
||||||
"github.com/go-flucky/flucky/pkg/internal/prittyprint"
|
"github.com/volker-raschek/flucky/pkg/internal/prittyprint"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Blue makes all RGB-LEDs which are passed as parameters light up blue.
|
// Blue makes all RGB-LEDs which are passed as parameters light up blue.
|
||||||
|
@ -7,8 +7,8 @@ import (
|
|||||||
"github.com/d2r2/go-bsbmp"
|
"github.com/d2r2/go-bsbmp"
|
||||||
"github.com/d2r2/go-i2c"
|
"github.com/d2r2/go-i2c"
|
||||||
"github.com/d2r2/go-logger"
|
"github.com/d2r2/go-logger"
|
||||||
"github.com/go-flucky/flucky/pkg/internal/format"
|
"github.com/volker-raschek/flucky/pkg/internal/format"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
uuid "github.com/satori/go.uuid"
|
uuid "github.com/satori/go.uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/internal/format"
|
"github.com/volker-raschek/flucky/pkg/internal/format"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/go-flucky/go-dht"
|
"github.com/go-flucky/go-dht"
|
||||||
uuid "github.com/satori/go.uuid"
|
uuid "github.com/satori/go.uuid"
|
||||||
)
|
)
|
||||||
|
@ -4,8 +4,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/internal/format"
|
"github.com/volker-raschek/flucky/pkg/internal/format"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"github.com/go-flucky/go-dht"
|
"github.com/go-flucky/go-dht"
|
||||||
uuid "github.com/satori/go.uuid"
|
uuid "github.com/satori/go.uuid"
|
||||||
)
|
)
|
||||||
|
@ -8,8 +8,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/internal/format"
|
"github.com/volker-raschek/flucky/pkg/internal/format"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
uuid "github.com/satori/go.uuid"
|
uuid "github.com/satori/go.uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package sensor
|
package sensor
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package sensor
|
package sensor
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Read(sensors []Sensor, measuredValueType types.MeasuredValueType) ([]*types.MeasuredValue, error) {
|
func Read(sensors []Sensor, measuredValueType types.MeasuredValueType) ([]*types.MeasuredValue, error) {
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Masterminds/semver"
|
"github.com/Masterminds/semver"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Database interface {
|
type Database interface {
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
"github.com/Masterminds/semver"
|
"github.com/Masterminds/semver"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
|
|
||||||
// PostgreSQL lib
|
// PostgreSQL lib
|
||||||
_ "github.com/lib/pq"
|
_ "github.com/lib/pq"
|
||||||
|
@ -7,10 +7,10 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/Masterminds/semver"
|
"github.com/Masterminds/semver"
|
||||||
"github.com/go-flucky/flucky/pkg/storage/db"
|
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
|
||||||
"github.com/go-flucky/flucky/test/goldenfiles"
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
"github.com/volker-raschek/flucky/pkg/storage/db"
|
||||||
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
|
"github.com/volker-raschek/flucky/test/goldenfiles"
|
||||||
)
|
)
|
||||||
|
|
||||||
type test struct {
|
type test struct {
|
||||||
|
@ -8,8 +8,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/internal/format"
|
"github.com/volker-raschek/flucky/pkg/internal/format"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
type csvLogfile struct {
|
type csvLogfile struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package logfile
|
package logfile
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Logfile is an interface for various logfiles
|
// Logfile is an interface for various logfiles
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
type jsonLogfile struct {
|
type jsonLogfile struct {
|
||||||
|
@ -3,7 +3,7 @@ package logfile
|
|||||||
import (
|
import (
|
||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// MeasuredValues is an XML Wrapper for an array of measured values
|
// MeasuredValues is an XML Wrapper for an array of measured values
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
type xmlLogfile struct {
|
type xmlLogfile struct {
|
||||||
|
@ -7,10 +7,10 @@ import (
|
|||||||
"net/url"
|
"net/url"
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/internal/format"
|
"github.com/volker-raschek/flucky/pkg/internal/format"
|
||||||
"github.com/go-flucky/flucky/pkg/storage/db"
|
"github.com/volker-raschek/flucky/pkg/storage/db"
|
||||||
"github.com/go-flucky/flucky/pkg/storage/logfile"
|
"github.com/volker-raschek/flucky/pkg/storage/logfile"
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Compression the measured values. The system checks whether the measured values
|
// Compression the measured values. The system checks whether the measured values
|
||||||
|
@ -3,8 +3,8 @@ package storage_test
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/storage"
|
"github.com/volker-raschek/flucky/pkg/storage"
|
||||||
"github.com/go-flucky/flucky/test/goldenfiles"
|
"github.com/volker-raschek/flucky/test/goldenfiles"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,9 +9,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/go-flucky/flucky/pkg/storage/logfile"
|
|
||||||
"github.com/go-flucky/flucky/pkg/types"
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
"github.com/volker-raschek/flucky/pkg/storage/logfile"
|
||||||
|
"github.com/volker-raschek/flucky/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func CompareMeasuredValues(t *testing.T, goldenInterface interface{}, testInterface interface{}) {
|
func CompareMeasuredValues(t *testing.T, goldenInterface interface{}, testInterface interface{}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user