From ea5226122e61b5ea7c26e7e0eec014e4d51bd2db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Grill?= Date: Sun, 5 Apr 2020 18:40:05 +0200 Subject: [PATCH] rebranded package to gh --- cmd/wscgo/wscgo.go | 8 ++++---- config/config.go | 6 +++--- config/info.go | 2 +- config/pluginpins.go | 2 +- devices/dimmer_test.go | 2 +- devices/shutter_test.go | 2 +- go.mod | 6 +++--- integration/ccs811.go | 6 +++--- integration/gpio.go | 6 +++--- integration/light.go | 6 +++--- integration/shutter.go | 6 +++--- plugins/go.mod | 2 +- plugins/wiringpi/go.mod | 6 +++--- plugins/wiringpi/mcp23017.go | 2 +- plugins/wiringpi/pca9685.go | 2 +- plugins/wiringpi/wiringpiplugin.go | 2 +- protocol/cover.go | 2 +- protocol/cover_test.go | 2 +- protocol/dinput.go | 2 +- protocol/light.go | 2 +- protocol/sensor.go | 2 +- protocol/switch.go | 2 +- 22 files changed, 39 insertions(+), 39 deletions(-) diff --git a/cmd/wscgo/wscgo.go b/cmd/wscgo/wscgo.go index 8ba6b9c..ca20ab4 100644 --- a/cmd/wscgo/wscgo.go +++ b/cmd/wscgo/wscgo.go @@ -6,11 +6,11 @@ import ( "time" mqtt "github.com/eclipse/paho.mqtt.golang" - "gitlab.com/grill-tamasi/wscgo/config" - "gitlab.com/grill-tamasi/wscgo/devices" - "gitlab.com/grill-tamasi/wscgo/protocol" + "github.com/grill-tamasi/wscgo/config" + "github.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/protocol" - _ "gitlab.com/grill-tamasi/wscgo/integration" + _ "github.com/grill-tamasi/wscgo/integration" ) type wscgoInstance struct { diff --git a/config/config.go b/config/config.go index a66e370..6eb5373 100644 --- a/config/config.go +++ b/config/config.go @@ -5,9 +5,9 @@ import ( "os" "plugin" - "gitlab.com/grill-tamasi/wscgo/devices" - "gitlab.com/grill-tamasi/wscgo/plugins" - "gitlab.com/grill-tamasi/wscgo/protocol" + "github.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/plugins" + "github.com/grill-tamasi/wscgo/protocol" ) type DeviceInitializer func(RuntimeContext) error diff --git a/config/info.go b/config/info.go index d323b4b..4482af4 100644 --- a/config/info.go +++ b/config/info.go @@ -3,7 +3,7 @@ package config import ( "os" - "gitlab.com/grill-tamasi/wscgo/protocol" + "github.com/grill-tamasi/wscgo/protocol" ) func ComputeDeviceInfo(version string) *protocol.DeviceDiscoveryInfo { diff --git a/config/pluginpins.go b/config/pluginpins.go index edc5b42..edc3e74 100644 --- a/config/pluginpins.go +++ b/config/pluginpins.go @@ -5,7 +5,7 @@ import ( "log" "time" - "gitlab.com/grill-tamasi/wscgo/plugins" + "github.com/grill-tamasi/wscgo/plugins" "periph.io/x/periph/conn/gpio" "periph.io/x/periph/conn/gpio/gpioreg" "periph.io/x/periph/conn/physic" diff --git a/devices/dimmer_test.go b/devices/dimmer_test.go index ac423e7..b87f4c3 100644 --- a/devices/dimmer_test.go +++ b/devices/dimmer_test.go @@ -3,7 +3,7 @@ package devices import ( "testing" - "gitlab.com/grill-tamasi/wscgo/tests" + "github.com/grill-tamasi/wscgo/tests" "periph.io/x/periph/conn/gpio" ) diff --git a/devices/shutter_test.go b/devices/shutter_test.go index 0832fec..3fb84c2 100644 --- a/devices/shutter_test.go +++ b/devices/shutter_test.go @@ -3,7 +3,7 @@ package devices import ( "testing" - "gitlab.com/grill-tamasi/wscgo/tests" + "github.com/grill-tamasi/wscgo/tests" "periph.io/x/periph/conn/gpio" ) diff --git a/go.mod b/go.mod index 74b47b6..d3f51e5 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitlab.com/grill-tamasi/wscgo +module github.com/grill-tamasi/wscgo go 1.13 @@ -8,7 +8,7 @@ require ( golang.org/x/net v0.0.0-20191101175033-0deb6923b6d9 // indirect gopkg.in/ini.v1 v1.49.0 periph.io/x/periph v3.6.2+incompatible - gitlab.com/grill-tamasi/wscgo/plugins v0.5.0 + github.com/grill-tamasi/wscgo/plugins v0.5.0 ) -replace gitlab.com/grill-tamasi/wscgo/plugins => ./plugins +replace github.com/grill-tamasi/wscgo/plugins => ./plugins diff --git a/integration/ccs811.go b/integration/ccs811.go index e50ee40..d6028ef 100644 --- a/integration/ccs811.go +++ b/integration/ccs811.go @@ -1,9 +1,9 @@ package integration import ( - "gitlab.com/grill-tamasi/wscgo/config" - "gitlab.com/grill-tamasi/wscgo/devices" - "gitlab.com/grill-tamasi/wscgo/protocol" + "github.com/grill-tamasi/wscgo/config" + "github.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/protocol" ) type ccs811ConfigPartParser struct{} diff --git a/integration/gpio.go b/integration/gpio.go index cc88b14..0582817 100644 --- a/integration/gpio.go +++ b/integration/gpio.go @@ -1,9 +1,9 @@ package integration import ( - "gitlab.com/grill-tamasi/wscgo/config" - "gitlab.com/grill-tamasi/wscgo/devices" - "gitlab.com/grill-tamasi/wscgo/protocol" + "github.com/grill-tamasi/wscgo/config" + "github.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/protocol" ) type inputConfigPartParser struct{} diff --git a/integration/light.go b/integration/light.go index 00bfd89..7260cb9 100644 --- a/integration/light.go +++ b/integration/light.go @@ -1,9 +1,9 @@ package integration import ( - "gitlab.com/grill-tamasi/wscgo/config" - "gitlab.com/grill-tamasi/wscgo/devices" - "gitlab.com/grill-tamasi/wscgo/protocol" + "github.com/grill-tamasi/wscgo/config" + "github.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/protocol" ) type lightConfigurationParser struct { diff --git a/integration/shutter.go b/integration/shutter.go index cb275d3..35a3f91 100644 --- a/integration/shutter.go +++ b/integration/shutter.go @@ -1,9 +1,9 @@ package integration import ( - "gitlab.com/grill-tamasi/wscgo/config" - "gitlab.com/grill-tamasi/wscgo/devices" - "gitlab.com/grill-tamasi/wscgo/protocol" + "github.com/grill-tamasi/wscgo/config" + "github.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/protocol" ) type shutterConfigPartParser struct{} diff --git a/plugins/go.mod b/plugins/go.mod index f70ab6b..d9d4b84 100644 --- a/plugins/go.mod +++ b/plugins/go.mod @@ -1,3 +1,3 @@ -module gitlab.com/grill-tamasi/wscgo/plugins +module github.com/grill-tamasi/wscgo/plugins go 1.13 diff --git a/plugins/wiringpi/go.mod b/plugins/wiringpi/go.mod index d10e3fa..f00f694 100644 --- a/plugins/wiringpi/go.mod +++ b/plugins/wiringpi/go.mod @@ -1,9 +1,9 @@ -module gitlab.com/grill-tamasi/wscgo/plugins/wiringpi +module github.com/grill-tamasi/wscgo/plugins/wiringpi go 1.13 require ( - gitlab.com/grill-tamasi/wscgo/plugins v0.5.0 + github.com/grill-tamasi/wscgo/plugins v0.5.0 ) -replace gitlab.com/grill-tamasi/wscgo/plugins => ../ \ No newline at end of file +replace github.com/grill-tamasi/wscgo/plugins => ../ \ No newline at end of file diff --git a/plugins/wiringpi/mcp23017.go b/plugins/wiringpi/mcp23017.go index 524cc15..c53d90b 100644 --- a/plugins/wiringpi/mcp23017.go +++ b/plugins/wiringpi/mcp23017.go @@ -4,7 +4,7 @@ import ( "errors" "log" - "gitlab.com/grill-tamasi/wscgo/plugins" + "github.com/grill-tamasi/wscgo/plugins" ) type Mcp23017Config struct { diff --git a/plugins/wiringpi/pca9685.go b/plugins/wiringpi/pca9685.go index 316d09f..0472635 100644 --- a/plugins/wiringpi/pca9685.go +++ b/plugins/wiringpi/pca9685.go @@ -4,7 +4,7 @@ import ( "errors" "log" - "gitlab.com/grill-tamasi/wscgo/plugins" + "github.com/grill-tamasi/wscgo/plugins" ) type Pca9685Config struct { diff --git a/plugins/wiringpi/wiringpiplugin.go b/plugins/wiringpi/wiringpiplugin.go index 81a8c33..88c39b9 100644 --- a/plugins/wiringpi/wiringpiplugin.go +++ b/plugins/wiringpi/wiringpiplugin.go @@ -1,6 +1,6 @@ package main -import "gitlab.com/grill-tamasi/wscgo/plugins" +import "github.com/grill-tamasi/wscgo/plugins" func GetAddons() []plugins.Addon { return []plugins.Addon{ diff --git a/protocol/cover.go b/protocol/cover.go index d5f1f2e..9924a9e 100644 --- a/protocol/cover.go +++ b/protocol/cover.go @@ -6,7 +6,7 @@ import ( "strings" mqtt "github.com/eclipse/paho.mqtt.golang" - "gitlab.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/devices" ) type CoverConfig struct { diff --git a/protocol/cover_test.go b/protocol/cover_test.go index e04b863..215caec 100644 --- a/protocol/cover_test.go +++ b/protocol/cover_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "gitlab.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/devices" ) type testshutter struct { diff --git a/protocol/dinput.go b/protocol/dinput.go index 05c0d2a..12fca02 100644 --- a/protocol/dinput.go +++ b/protocol/dinput.go @@ -2,7 +2,7 @@ package protocol import ( mqtt "github.com/eclipse/paho.mqtt.golang" - "gitlab.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/devices" ) type DInputConfig struct { diff --git a/protocol/light.go b/protocol/light.go index 63e6be6..56289bd 100644 --- a/protocol/light.go +++ b/protocol/light.go @@ -6,7 +6,7 @@ import ( "strings" mqtt "github.com/eclipse/paho.mqtt.golang" - "gitlab.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/devices" ) type LightConfig struct { diff --git a/protocol/sensor.go b/protocol/sensor.go index ebe32c5..f2227b5 100644 --- a/protocol/sensor.go +++ b/protocol/sensor.go @@ -4,7 +4,7 @@ import ( "fmt" mqtt "github.com/eclipse/paho.mqtt.golang" - "gitlab.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/devices" ) type SensorConfig struct { diff --git a/protocol/switch.go b/protocol/switch.go index 842d5e3..4f72f9d 100644 --- a/protocol/switch.go +++ b/protocol/switch.go @@ -6,7 +6,7 @@ import ( "strings" mqtt "github.com/eclipse/paho.mqtt.golang" - "gitlab.com/grill-tamasi/wscgo/devices" + "github.com/grill-tamasi/wscgo/devices" "periph.io/x/periph/conn/gpio" )