Skip to content

Commit

Permalink
rebranded package to gh
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsgrill committed Apr 5, 2020
1 parent e302b7b commit ea52261
Show file tree
Hide file tree
Showing 22 changed files with 39 additions and 39 deletions.
8 changes: 4 additions & 4 deletions cmd/wscgo/wscgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion config/pluginpins.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion devices/dimmer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion devices/shutter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module gitlab.com/grill-tamasi/wscgo
module github.com/grill-tamasi/wscgo

go 1.13

Expand All @@ -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
6 changes: 3 additions & 3 deletions integration/ccs811.go
Original file line number Diff line number Diff line change
@@ -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{}
Expand Down
6 changes: 3 additions & 3 deletions integration/gpio.go
Original file line number Diff line number Diff line change
@@ -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{}
Expand Down
6 changes: 3 additions & 3 deletions integration/light.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions integration/shutter.go
Original file line number Diff line number Diff line change
@@ -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{}
Expand Down
2 changes: 1 addition & 1 deletion plugins/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module gitlab.com/grill-tamasi/wscgo/plugins
module github.com/grill-tamasi/wscgo/plugins

go 1.13
6 changes: 3 additions & 3 deletions plugins/wiringpi/go.mod
Original file line number Diff line number Diff line change
@@ -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 => ../
replace github.com/grill-tamasi/wscgo/plugins => ../
2 changes: 1 addition & 1 deletion plugins/wiringpi/mcp23017.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"log"

"gitlab.com/grill-tamasi/wscgo/plugins"
"github.com/grill-tamasi/wscgo/plugins"
)

type Mcp23017Config struct {
Expand Down
2 changes: 1 addition & 1 deletion plugins/wiringpi/pca9685.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"log"

"gitlab.com/grill-tamasi/wscgo/plugins"
"github.com/grill-tamasi/wscgo/plugins"
)

type Pca9685Config struct {
Expand Down
2 changes: 1 addition & 1 deletion plugins/wiringpi/wiringpiplugin.go
Original file line number Diff line number Diff line change
@@ -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{
Expand Down
2 changes: 1 addition & 1 deletion protocol/cover.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion protocol/cover_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"gitlab.com/grill-tamasi/wscgo/devices"
"github.com/grill-tamasi/wscgo/devices"
)

type testshutter struct {
Expand Down
2 changes: 1 addition & 1 deletion protocol/dinput.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion protocol/light.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion protocol/sensor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion protocol/switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit ea52261

Please sign in to comment.