From 8cc232adc190d352f5d5a9e1be489a9ae245c5fa Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 19 Jan 2020 13:30:47 +0100 Subject: [PATCH] fix:_renamed import path to volker-raschek --- README.md | 3 ++- cmd/compression/compression.go | 4 ++-- cmd/convert/convert.go | 4 ++-- cmd/daemon/daemon.go | 6 +++--- cmd/db/db.go | 8 ++++---- cmd/humidity/humidity.go | 10 +++++----- cmd/pressure/pressure.go | 10 +++++----- cmd/rgbled/rgbled.go | 8 ++++---- cmd/root.go | 24 ++++++++++++------------ cmd/sensor/sensor.go | 6 +++--- cmd/temperature/temperature.go | 10 +++++----- go.mod | 11 ++--------- go.sum | 25 +------------------------ main.go | 2 +- pkg/cli/cli.go | 4 ++-- pkg/cli/cli_test.go | 4 ++-- pkg/config/config.go | 8 ++++---- pkg/config/sensors.go | 2 +- pkg/daemon/cache.go | 6 +++--- pkg/daemon/daemon.go | 6 +++--- pkg/internal/distribute/distribute.go | 2 +- pkg/rgbled/default.go | 2 +- pkg/rgbled/rgbled.go | 6 +++--- pkg/sensor/bme280.go | 4 ++-- pkg/sensor/dht11.go | 4 ++-- pkg/sensor/dht22.go | 4 ++-- pkg/sensor/ds18b20.go | 4 ++-- pkg/sensor/interfaces.go | 2 +- pkg/sensor/sensor.go | 2 +- pkg/storage/db/interfaces.go | 2 +- pkg/storage/db/postgres.go | 2 +- pkg/storage/db/postgres_test.go | 6 +++--- pkg/storage/logfile/csv.go | 4 ++-- pkg/storage/logfile/interfaces.go | 2 +- pkg/storage/logfile/json.go | 2 +- pkg/storage/logfile/types.go | 2 +- pkg/storage/logfile/xml.go | 2 +- pkg/storage/storage.go | 8 ++++---- pkg/storage/storage_test.go | 4 ++-- test/goldenfiles/goldenfiles.go | 4 ++-- 40 files changed, 100 insertions(+), 129 deletions(-) diff --git a/README.md b/README.md index 25bde76..218d89b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # 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) [![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) diff --git a/cmd/compression/compression.go b/cmd/compression/compression.go index 32106b8..2d65b19 100644 --- a/cmd/compression/compression.go +++ b/cmd/compression/compression.go @@ -1,8 +1,8 @@ package compression import ( - "github.com/go-flucky/flucky/pkg/storage" - "github.com/go-flucky/flucky/pkg/storage/logfile" + "github.com/volker-raschek/flucky/pkg/storage" + "github.com/volker-raschek/flucky/pkg/storage/logfile" "github.com/spf13/cobra" ) diff --git a/cmd/convert/convert.go b/cmd/convert/convert.go index 25c7c58..788987b 100644 --- a/cmd/convert/convert.go +++ b/cmd/convert/convert.go @@ -1,8 +1,8 @@ package convert import ( - "github.com/go-flucky/flucky/pkg/storage" - "github.com/go-flucky/flucky/pkg/storage/logfile" + "github.com/volker-raschek/flucky/pkg/storage" + "github.com/volker-raschek/flucky/pkg/storage/logfile" "github.com/spf13/cobra" ) diff --git a/cmd/daemon/daemon.go b/cmd/daemon/daemon.go index 10c01ce..73eaea5 100644 --- a/cmd/daemon/daemon.go +++ b/cmd/daemon/daemon.go @@ -3,10 +3,10 @@ package daemon import ( "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/volker-raschek/flucky/cmd/internal" + "github.com/volker-raschek/flucky/pkg/config" + "github.com/volker-raschek/flucky/pkg/daemon" ) var ( diff --git a/cmd/db/db.go b/cmd/db/db.go index cec9937..5d6ff2a 100644 --- a/cmd/db/db.go +++ b/cmd/db/db.go @@ -6,10 +6,10 @@ import ( "net/url" "github.com/Masterminds/semver" - "github.com/go-flucky/flucky/cmd/internal" - "github.com/go-flucky/flucky/pkg/config" - "github.com/go-flucky/flucky/pkg/storage/db" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/cmd/internal" + "github.com/volker-raschek/flucky/pkg/config" + "github.com/volker-raschek/flucky/pkg/storage/db" + "github.com/volker-raschek/flucky/pkg/types" "github.com/spf13/cobra" ) diff --git a/cmd/humidity/humidity.go b/cmd/humidity/humidity.go index 65398ce..a21cfbc 100644 --- a/cmd/humidity/humidity.go +++ b/cmd/humidity/humidity.go @@ -5,11 +5,11 @@ import ( "fmt" "os" - "github.com/go-flucky/flucky/pkg/cli" - "github.com/go-flucky/flucky/pkg/config" - "github.com/go-flucky/flucky/pkg/sensor" - "github.com/go-flucky/flucky/pkg/storage" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/cli" + "github.com/volker-raschek/flucky/pkg/config" + "github.com/volker-raschek/flucky/pkg/sensor" + "github.com/volker-raschek/flucky/pkg/storage" + "github.com/volker-raschek/flucky/pkg/types" "github.com/spf13/cobra" ) diff --git a/cmd/pressure/pressure.go b/cmd/pressure/pressure.go index 8041b73..9596515 100644 --- a/cmd/pressure/pressure.go +++ b/cmd/pressure/pressure.go @@ -5,11 +5,11 @@ import ( "fmt" "os" - "github.com/go-flucky/flucky/pkg/cli" - "github.com/go-flucky/flucky/pkg/config" - "github.com/go-flucky/flucky/pkg/sensor" - "github.com/go-flucky/flucky/pkg/storage" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/cli" + "github.com/volker-raschek/flucky/pkg/config" + "github.com/volker-raschek/flucky/pkg/sensor" + "github.com/volker-raschek/flucky/pkg/storage" + "github.com/volker-raschek/flucky/pkg/types" "github.com/spf13/cobra" ) diff --git a/cmd/rgbled/rgbled.go b/cmd/rgbled/rgbled.go index 9b6157a..cde984b 100644 --- a/cmd/rgbled/rgbled.go +++ b/cmd/rgbled/rgbled.go @@ -5,10 +5,10 @@ import ( "os" "github.com/Masterminds/semver" - "github.com/go-flucky/flucky/pkg/cli" - "github.com/go-flucky/flucky/pkg/config" - "github.com/go-flucky/flucky/pkg/rgbled" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/cli" + "github.com/volker-raschek/flucky/pkg/config" + "github.com/volker-raschek/flucky/pkg/rgbled" + "github.com/volker-raschek/flucky/pkg/types" "github.com/spf13/cobra" ) diff --git a/cmd/root.go b/cmd/root.go index 14d2d20..44ffa57 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -8,20 +8,20 @@ import ( "time" "github.com/Masterminds/semver" - "github.com/go-flucky/flucky/cmd/completion" - "github.com/go-flucky/flucky/cmd/compression" - "github.com/go-flucky/flucky/cmd/convert" - "github.com/go-flucky/flucky/cmd/daemon" - "github.com/go-flucky/flucky/cmd/db" - "github.com/go-flucky/flucky/cmd/humidity" - "github.com/go-flucky/flucky/cmd/pressure" - "github.com/go-flucky/flucky/cmd/rgbled" - "github.com/go-flucky/flucky/cmd/sensor" - "github.com/go-flucky/flucky/cmd/temperature" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/cmd/completion" + "github.com/volker-raschek/flucky/cmd/compression" + "github.com/volker-raschek/flucky/cmd/convert" + "github.com/volker-raschek/flucky/cmd/daemon" + "github.com/volker-raschek/flucky/cmd/db" + "github.com/volker-raschek/flucky/cmd/humidity" + "github.com/volker-raschek/flucky/cmd/pressure" + "github.com/volker-raschek/flucky/cmd/rgbled" + "github.com/volker-raschek/flucky/cmd/sensor" + "github.com/volker-raschek/flucky/cmd/temperature" + "github.com/volker-raschek/flucky/pkg/types" "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" "github.com/spf13/cobra" ) diff --git a/cmd/sensor/sensor.go b/cmd/sensor/sensor.go index 7b30bb9..743614f 100644 --- a/cmd/sensor/sensor.go +++ b/cmd/sensor/sensor.go @@ -4,9 +4,9 @@ import ( "fmt" "os" - "github.com/go-flucky/flucky/pkg/cli" - "github.com/go-flucky/flucky/pkg/config" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/cli" + "github.com/volker-raschek/flucky/pkg/config" + "github.com/volker-raschek/flucky/pkg/types" "github.com/spf13/cobra" ) diff --git a/cmd/temperature/temperature.go b/cmd/temperature/temperature.go index 6381e34..d328b9f 100644 --- a/cmd/temperature/temperature.go +++ b/cmd/temperature/temperature.go @@ -5,11 +5,11 @@ import ( "fmt" "os" - "github.com/go-flucky/flucky/pkg/cli" - "github.com/go-flucky/flucky/pkg/config" - "github.com/go-flucky/flucky/pkg/sensor" - "github.com/go-flucky/flucky/pkg/storage" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/cli" + "github.com/volker-raschek/flucky/pkg/config" + "github.com/volker-raschek/flucky/pkg/sensor" + "github.com/volker-raschek/flucky/pkg/storage" + "github.com/volker-raschek/flucky/pkg/types" "github.com/spf13/cobra" ) diff --git a/go.mod b/go.mod index 9b9139f..9460d49 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/go-flucky/flucky +module github.com/volker-raschek/flucky go 1.12 @@ -7,19 +7,12 @@ require ( github.com/d2r2/go-bsbmp v0.0.0-20190515110334-3b4b3aea8375 github.com/d2r2/go-i2c v0.0.0-20181113114621-14f8dd4e89ce github.com/d2r2/go-logger v0.0.0-20181221090742-9998a510495e - github.com/docker/distribution v2.7.1+incompatible // indirect - 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/flucky v0.0.0-20190714170626-0dd156f480be 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/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/spf13/cobra v0.0.3 github.com/stianeikeland/go-rpio v4.2.0+incompatible github.com/stretchr/testify v1.4.0 github.com/volker-raschek/go-logger v0.0.0-20190924132822-0c50a64d7f26 - golang.org/x/tools v0.0.0-20190830223141-573d9926052a // indirect ) diff --git a/go.sum b/go.sum index 692be02..3a97a8e 100644 --- a/go.sum +++ b/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/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/docker/distribution v2.7.1+incompatible h1:a5mlkVzth6W5A4fOsS3D2EO5BUmsJpcB+cRlLU7cSug= -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 h1:jCs/SAXdXUA0aqvEVH0wyeGpJzYOZ1XC9Kpm5anSY5E= 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/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/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= 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/lib/pq v1.2.0 h1:LXpIM/LZ5xGFhOpXAQUIMM1HdyqzVYM13zNdjCEEcA0= 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/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 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/go.mod h1:Sh81rdJwD96E2wja2Gd7rrKM+XZ9LrwvN2w4IXrqLR8= 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.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= 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/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 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/main.go b/main.go index c2504a1..26ee3a2 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( "os" "github.com/Masterminds/semver" - "github.com/go-flucky/flucky/cmd" + "github.com/volker-raschek/flucky/cmd" ) var ( diff --git a/pkg/cli/cli.go b/pkg/cli/cli.go index a5d3d9a..a95fc61 100644 --- a/pkg/cli/cli.go +++ b/pkg/cli/cli.go @@ -7,8 +7,8 @@ import ( "regexp" "text/tabwriter" - "github.com/go-flucky/flucky/pkg/config" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/config" + "github.com/volker-raschek/flucky/pkg/types" ) var ( diff --git a/pkg/cli/cli_test.go b/pkg/cli/cli_test.go index 91b18d9..026e8c9 100644 --- a/pkg/cli/cli_test.go +++ b/pkg/cli/cli_test.go @@ -3,8 +3,8 @@ package cli import ( "testing" - "github.com/go-flucky/flucky/pkg/config" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/config" + "github.com/volker-raschek/flucky/pkg/types" "github.com/stretchr/testify/require" ) diff --git a/pkg/config/config.go b/pkg/config/config.go index db5d380..c486b0c 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -6,11 +6,11 @@ import ( "time" - "github.com/go-flucky/flucky/pkg/internal/format" - "github.com/go-flucky/flucky/pkg/rgbled" - "github.com/go-flucky/flucky/pkg/sensor" + "github.com/volker-raschek/flucky/pkg/internal/format" + "github.com/volker-raschek/flucky/pkg/rgbled" + "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" ) diff --git a/pkg/config/sensors.go b/pkg/config/sensors.go index 5519803..87c1e02 100644 --- a/pkg/config/sensors.go +++ b/pkg/config/sensors.go @@ -1,6 +1,6 @@ package config -import "github.com/go-flucky/flucky/pkg/types" +import "github.com/volker-raschek/flucky/pkg/types" var ( humiditySensorModels = map[types.SensorModel]types.SensorModel{ diff --git a/pkg/daemon/cache.go b/pkg/daemon/cache.go index 429e74d..8319281 100644 --- a/pkg/daemon/cache.go +++ b/pkg/daemon/cache.go @@ -5,9 +5,9 @@ import ( "net/url" "sync" - "github.com/go-flucky/flucky/pkg/storage" - "github.com/go-flucky/flucky/pkg/storage/logfile" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/storage" + "github.com/volker-raschek/flucky/pkg/storage/logfile" + "github.com/volker-raschek/flucky/pkg/types" ) type cacheStore struct { diff --git a/pkg/daemon/daemon.go b/pkg/daemon/daemon.go index 80f824f..1440fba 100644 --- a/pkg/daemon/daemon.go +++ b/pkg/daemon/daemon.go @@ -8,9 +8,9 @@ import ( "sync" "syscall" - "github.com/go-flucky/flucky/pkg/config" - "github.com/go-flucky/flucky/pkg/sensor" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/config" + "github.com/volker-raschek/flucky/pkg/sensor" + "github.com/volker-raschek/flucky/pkg/types" "github.com/volker-raschek/go-logger/pkg/logger" ) diff --git a/pkg/internal/distribute/distribute.go b/pkg/internal/distribute/distribute.go index 7b5ddae..192f905 100644 --- a/pkg/internal/distribute/distribute.go +++ b/pkg/internal/distribute/distribute.go @@ -2,7 +2,7 @@ package distribute import ( "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 { diff --git a/pkg/rgbled/default.go b/pkg/rgbled/default.go index 36bd07d..f93f864 100644 --- a/pkg/rgbled/default.go +++ b/pkg/rgbled/default.go @@ -3,7 +3,7 @@ package rgbled import ( "fmt" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/types" "github.com/stianeikeland/go-rpio" ) diff --git a/pkg/rgbled/rgbled.go b/pkg/rgbled/rgbled.go index 49a185c..bd0d4f9 100644 --- a/pkg/rgbled/rgbled.go +++ b/pkg/rgbled/rgbled.go @@ -3,9 +3,9 @@ package rgbled import ( "sync" - "github.com/go-flucky/flucky/pkg/internal/collect" - "github.com/go-flucky/flucky/pkg/internal/prittyprint" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/internal/collect" + "github.com/volker-raschek/flucky/pkg/internal/prittyprint" + "github.com/volker-raschek/flucky/pkg/types" ) // Blue makes all RGB-LEDs which are passed as parameters light up blue. diff --git a/pkg/sensor/bme280.go b/pkg/sensor/bme280.go index 311f6bb..2cb6e95 100644 --- a/pkg/sensor/bme280.go +++ b/pkg/sensor/bme280.go @@ -7,8 +7,8 @@ import ( "github.com/d2r2/go-bsbmp" "github.com/d2r2/go-i2c" "github.com/d2r2/go-logger" - "github.com/go-flucky/flucky/pkg/internal/format" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/internal/format" + "github.com/volker-raschek/flucky/pkg/types" uuid "github.com/satori/go.uuid" ) diff --git a/pkg/sensor/dht11.go b/pkg/sensor/dht11.go index 637d70e..e02a29e 100644 --- a/pkg/sensor/dht11.go +++ b/pkg/sensor/dht11.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/go-flucky/flucky/pkg/internal/format" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/internal/format" + "github.com/volker-raschek/flucky/pkg/types" "github.com/go-flucky/go-dht" uuid "github.com/satori/go.uuid" ) diff --git a/pkg/sensor/dht22.go b/pkg/sensor/dht22.go index 3405fc1..ff6c4ec 100644 --- a/pkg/sensor/dht22.go +++ b/pkg/sensor/dht22.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/go-flucky/flucky/pkg/internal/format" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/internal/format" + "github.com/volker-raschek/flucky/pkg/types" "github.com/go-flucky/go-dht" uuid "github.com/satori/go.uuid" ) diff --git a/pkg/sensor/ds18b20.go b/pkg/sensor/ds18b20.go index bb78778..58eb3fd 100644 --- a/pkg/sensor/ds18b20.go +++ b/pkg/sensor/ds18b20.go @@ -8,8 +8,8 @@ import ( "strings" "time" - "github.com/go-flucky/flucky/pkg/internal/format" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/internal/format" + "github.com/volker-raschek/flucky/pkg/types" uuid "github.com/satori/go.uuid" ) diff --git a/pkg/sensor/interfaces.go b/pkg/sensor/interfaces.go index 58c655f..114df6b 100644 --- a/pkg/sensor/interfaces.go +++ b/pkg/sensor/interfaces.go @@ -1,7 +1,7 @@ package sensor import ( - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/types" "time" ) diff --git a/pkg/sensor/sensor.go b/pkg/sensor/sensor.go index b731f88..9b1d37b 100644 --- a/pkg/sensor/sensor.go +++ b/pkg/sensor/sensor.go @@ -1,7 +1,7 @@ package sensor 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) { diff --git a/pkg/storage/db/interfaces.go b/pkg/storage/db/interfaces.go index 9c016d0..2e4cc9f 100644 --- a/pkg/storage/db/interfaces.go +++ b/pkg/storage/db/interfaces.go @@ -4,7 +4,7 @@ import ( "context" "github.com/Masterminds/semver" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/types" ) type Database interface { diff --git a/pkg/storage/db/postgres.go b/pkg/storage/db/postgres.go index 6f5146d..574b9ef 100644 --- a/pkg/storage/db/postgres.go +++ b/pkg/storage/db/postgres.go @@ -10,7 +10,7 @@ import ( "github.com/Masterminds/semver" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/types" // PostgreSQL lib _ "github.com/lib/pq" diff --git a/pkg/storage/db/postgres_test.go b/pkg/storage/db/postgres_test.go index ac90970..bbe9db8 100644 --- a/pkg/storage/db/postgres_test.go +++ b/pkg/storage/db/postgres_test.go @@ -7,10 +7,10 @@ import ( "testing" "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/volker-raschek/flucky/pkg/storage/db" + "github.com/volker-raschek/flucky/pkg/types" + "github.com/volker-raschek/flucky/test/goldenfiles" ) type test struct { diff --git a/pkg/storage/logfile/csv.go b/pkg/storage/logfile/csv.go index 6bd3a2b..9d167a9 100644 --- a/pkg/storage/logfile/csv.go +++ b/pkg/storage/logfile/csv.go @@ -8,8 +8,8 @@ import ( "strconv" "time" - "github.com/go-flucky/flucky/pkg/internal/format" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/internal/format" + "github.com/volker-raschek/flucky/pkg/types" ) type csvLogfile struct { diff --git a/pkg/storage/logfile/interfaces.go b/pkg/storage/logfile/interfaces.go index 591d163..7112e3e 100644 --- a/pkg/storage/logfile/interfaces.go +++ b/pkg/storage/logfile/interfaces.go @@ -1,7 +1,7 @@ package logfile import ( - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/types" ) // Logfile is an interface for various logfiles diff --git a/pkg/storage/logfile/json.go b/pkg/storage/logfile/json.go index be19d4e..56f7207 100644 --- a/pkg/storage/logfile/json.go +++ b/pkg/storage/logfile/json.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/types" ) type jsonLogfile struct { diff --git a/pkg/storage/logfile/types.go b/pkg/storage/logfile/types.go index d84d663..dff76f2 100644 --- a/pkg/storage/logfile/types.go +++ b/pkg/storage/logfile/types.go @@ -3,7 +3,7 @@ package logfile import ( "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 diff --git a/pkg/storage/logfile/xml.go b/pkg/storage/logfile/xml.go index 6fda3ba..156c676 100644 --- a/pkg/storage/logfile/xml.go +++ b/pkg/storage/logfile/xml.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/types" ) type xmlLogfile struct { diff --git a/pkg/storage/storage.go b/pkg/storage/storage.go index a3539be..8066f01 100644 --- a/pkg/storage/storage.go +++ b/pkg/storage/storage.go @@ -7,10 +7,10 @@ import ( "net/url" "sort" - "github.com/go-flucky/flucky/pkg/internal/format" - "github.com/go-flucky/flucky/pkg/storage/db" - "github.com/go-flucky/flucky/pkg/storage/logfile" - "github.com/go-flucky/flucky/pkg/types" + "github.com/volker-raschek/flucky/pkg/internal/format" + "github.com/volker-raschek/flucky/pkg/storage/db" + "github.com/volker-raschek/flucky/pkg/storage/logfile" + "github.com/volker-raschek/flucky/pkg/types" ) // Compression the measured values. The system checks whether the measured values diff --git a/pkg/storage/storage_test.go b/pkg/storage/storage_test.go index feaa658..fcc91d3 100644 --- a/pkg/storage/storage_test.go +++ b/pkg/storage/storage_test.go @@ -3,8 +3,8 @@ package storage_test import ( "testing" - "github.com/go-flucky/flucky/pkg/storage" - "github.com/go-flucky/flucky/test/goldenfiles" + "github.com/volker-raschek/flucky/pkg/storage" + "github.com/volker-raschek/flucky/test/goldenfiles" "github.com/stretchr/testify/require" ) diff --git a/test/goldenfiles/goldenfiles.go b/test/goldenfiles/goldenfiles.go index 0998b9e..6a749f9 100644 --- a/test/goldenfiles/goldenfiles.go +++ b/test/goldenfiles/goldenfiles.go @@ -9,9 +9,9 @@ import ( "strings" "testing" - "github.com/go-flucky/flucky/pkg/storage/logfile" - "github.com/go-flucky/flucky/pkg/types" "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{}) {