Skip to content

Commit

Permalink
Change all instances of 'gobot.io/x' to 'github.com/eyelight' except …
Browse files Browse the repository at this point in the history
…a historical reference in Changelog.md
  • Loading branch information
eyelight committed Nov 8, 2021
1 parent 698a4e5 commit a830353
Show file tree
Hide file tree
Showing 581 changed files with 1,445 additions and 1,442 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ The basics are as follows:

2. `go get` the upstream repo and set it up as the `upstream` remote and your own repo as the `origin` remote:

`go get gobot.io/x/gobot`
`cd $GOPATH/src/gobot.io/x/gobot`
`go get github.com/eyelight/gobot`
`cd $GOPATH/src/github.com/eyelight/gobot`
`git remote rename origin upstream`
`git remote add origin [email protected]/YOUR_GITHUB_NAME/gobot`

Expand All @@ -64,7 +64,7 @@ proper branch checked out.
3. Get all the needed gobot's dependencies each of them at their needed version. Gobot uses [dep (Dependency management for Go)](https://golang.github.io/dep/) to manage the project's dependencies. To get all the correct dependencies:

* Install dep tool. Follow the dep [installation](https://golang.github.io/dep/docs/installation.html) instructions in case you don't have it already installed.
* `cd $GOPATH/src/gobot.io/x/gobot`
* `cd $GOPATH/src/github.com/eyelight/gobot`
* `dep ensure` will fetch all the dependencies at their needed version.

## Landing Pull Requests
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Gobot](https://raw.githubusercontent.com/hybridgroup/gobot-site/master/source/images/elements/gobot-logo-small.png)](http://gobot.io/)

[![GoDoc](https://godoc.org/gobot.io/x/gobot?status.svg)](https://godoc.org/gobot.io/x/gobot)
[![GoDoc](https://godoc.org/github.com/eyelight/gobot?status.svg)](https://godoc.org/github.com/eyelight/gobot)
[![CircleCI Build status](https://circleci.com/gh/hybridgroup/gobot/tree/dev.svg?style=svg)](https://circleci.com/gh/hybridgroup/gobot/tree/dev)
[![Appveyor Build status](https://ci.appveyor.com/api/projects/status/ix29evnbdrhkr7ud/branch/dev?svg=true)](https://ci.appveyor.com/project/deadprogram/gobot/branch/dev)
[![codecov](https://codecov.io/gh/hybridgroup/gobot/branch/dev/graph/badge.svg)](https://codecov.io/gh/hybridgroup/gobot)
Expand All @@ -15,7 +15,7 @@ Want to run Go directly on microcontrollers? Check out our sister project TinyGo

## Getting Started

Get the Gobot package by running this command: `go get -d -u gobot.io/x/gobot`
Get the Gobot package by running this command: `go get -d -u github.com/eyelight/gobot`

## Examples

Expand All @@ -27,9 +27,9 @@ package main
import (
"time"

"gobot.io/x/gobot"
"gobot.io/x/gobot/drivers/gpio"
"gobot.io/x/gobot/platforms/firmata"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/drivers/gpio"
"github.com/eyelight/gobot/platforms/firmata"
)

func main() {
Expand Down Expand Up @@ -61,8 +61,8 @@ import (
"fmt"
"time"

"gobot.io/x/gobot"
"gobot.io/x/gobot/platforms/sphero"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/platforms/sphero"
)

func main() {
Expand Down Expand Up @@ -93,8 +93,8 @@ You can use the entire Gobot framework as shown in the examples above ("Classic"
package main

import (
"gobot.io/x/gobot/drivers/gpio"
"gobot.io/x/gobot/platforms/intel-iot/edison"
"github.com/eyelight/gobot/drivers/gpio"
"github.com/eyelight/gobot/platforms/intel-iot/edison"
"time"
)

Expand Down Expand Up @@ -123,9 +123,9 @@ import (
"fmt"
"time"

"gobot.io/x/gobot"
"gobot.io/x/gobot/api"
"gobot.io/x/gobot/platforms/sphero"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/api"
"github.com/eyelight/gobot/platforms/sphero"
)

func NewSwarmBot(port string) *gobot.Robot {
Expand Down Expand Up @@ -310,7 +310,7 @@ More platforms and drivers are coming soon...

Gobot includes a RESTful API to query the status of any robot running within a group, including the connection and device status, and execute device commands.

To activate the API, import the `gobot.io/x/gobot/api` package and instantiate the `API` like this:
To activate the API, import the `github.com/eyelight/gobot/api` package and instantiate the `API` like this:

```go
master := gobot.NewMaster()
Expand Down
4 changes: 2 additions & 2 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"

"github.com/bmizerany/pat"
"gobot.io/x/gobot"
"gobot.io/x/gobot/api/robeaux"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/api/robeaux"
)

// API represents an API server
Expand Down
4 changes: 2 additions & 2 deletions api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"testing"
"time"

"gobot.io/x/gobot"
"gobot.io/x/gobot/gobottest"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/gobottest"
)

func initTestAPI() *API {
Expand Down
2 changes: 1 addition & 1 deletion api/basic_auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http/httptest"
"testing"

"gobot.io/x/gobot/gobottest"
"github.com/eyelight/gobot/gobottest"
)

func TestBasicAuth(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/cors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http/httptest"
"testing"

"gobot.io/x/gobot/gobottest"
"github.com/eyelight/gobot/gobottest"
)

func TestCORSIsOriginAllowed(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions api/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Example:
import (
"fmt"
"gobot.io/x/gobot"
"gobot.io/x/gobot/api"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/api"
)
func main() {
Expand All @@ -34,6 +34,6 @@ Example:
}
It follows Common Protocol for Programming Physical Input and Output (CPPP-IO) spec:
https://gobot.io/x/cppp-io
https://github.com/eyelight/cppp-io
*/
package api
2 changes: 1 addition & 1 deletion api/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package api
import (
"fmt"

"gobot.io/x/gobot"
"github.com/eyelight/gobot"
)

type NullReadWriteCloser struct{}
Expand Down
14 changes: 7 additions & 7 deletions cli/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func driver() string {
import (
"time"
"gobot.io/x/gobot"
"github.com/eyelight/gobot"
)
const Hello string = "hello"
Expand Down Expand Up @@ -274,7 +274,7 @@ import (
"fmt"
"time"
"gobot.io/x/gobot"
"github.com/eyelight/gobot"
)
func main() {
Expand Down Expand Up @@ -313,8 +313,8 @@ import (
"testing"
"time"
"gobot.io/x/gobot"
"gobot.io/x/gobot/gobottest"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/gobottest"
)
var _ gobot.Driver = (*{{.UpperName}}Driver)(nil)
Expand Down Expand Up @@ -368,8 +368,8 @@ func adaptorTest() string {
import (
"testing"
"gobot.io/x/gobot"
"gobot.io/x/gobot/gobottest"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/gobottest"
)
var _ gobot.Adaptor = (*{{.UpperName}}Adaptor)(nil)
Expand Down Expand Up @@ -398,7 +398,7 @@ Gobot (http://gobot.io/) is a framework for robotics and physical computing usin
This repository contains the Gobot adaptor and driver for {{.Package}}.
For more information about Gobot, check out the github repo at
https://gobot.io/x/gobot
https://github.com/eyelight/gobot
## Installing
` + "```bash\ngo get path/to/repo/{{.Package}}\n```" + `
Expand Down
4 changes: 2 additions & 2 deletions cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ package main
import (
"os"

"github.com/eyelight/gobot"
"github.com/urfave/cli"
"gobot.io/x/gobot"
)

func main() {
app := cli.NewApp()
app.Name = "gobot"
app.Author = "The Gobot team"
app.Email = "https://gobot.io/x/gobot"
app.Email = "https://github.com/eyelight/gobot"
app.Version = gobot.Version()
app.Usage = "Command Line Utility for generating new Gobot adaptors, drivers, and platforms"
app.Commands = []cli.Command{
Expand Down
2 changes: 1 addition & 1 deletion commander_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gobot
import (
"testing"

"gobot.io/x/gobot/gobottest"
"github.com/eyelight/gobot/gobottest"
)

func TestCommaner(t *testing.T) {
Expand Down
18 changes: 9 additions & 9 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Here is a "Classic Gobot" program that blinks an LED using an Arduino:
import (
"time"
"gobot.io/x/gobot"
"gobot.io/x/gobot/drivers/gpio"
"gobot.io/x/gobot/platforms/firmata"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/drivers/gpio"
"github.com/eyelight/gobot/platforms/firmata"
)
func main() {
Expand Down Expand Up @@ -45,8 +45,8 @@ You can also use Metal Gobot and pick and choose from the various Gobot packages
package main
import (
"gobot.io/x/gobot/drivers/gpio"
"gobot.io/x/gobot/platforms/intel-iot/edison"
"github.com/eyelight/gobot/drivers/gpio"
"github.com/eyelight/gobot/platforms/intel-iot/edison"
"time"
)
Expand All @@ -73,9 +73,9 @@ Finally, you can use Master Gobot to add the complete Gobot API or control swarm
"fmt"
"time"
"gobot.io/x/gobot"
"gobot.io/x/gobot/api"
"gobot.io/x/gobot/platforms/sphero"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/api"
"github.com/eyelight/gobot/platforms/sphero"
)
func NewSwarmBot(port string) *gobot.Robot {
Expand Down Expand Up @@ -130,4 +130,4 @@ Finally, you can use Master Gobot to add the complete Gobot API or control swarm
Copyright (c) 2013-2018 The Hybrid Group. Licensed under the Apache 2.0 license.
*/
package gobot // import "gobot.io/x/gobot"
package gobot // import "github.com/eyelight/gobot"
4 changes: 2 additions & 2 deletions drivers/aio/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# AIO

This package provides drivers for [Analog Input/Output (AIO)](https://en.wikipedia.org/wiki/Analog-to-digital_converter) devices. It is normally used by connecting an adaptor such as [firmata](https://gobot.io/x/gobot/platforms/firmata) that supports the needed interfaces for analog devices.
This package provides drivers for [Analog Input/Output (AIO)](https://en.wikipedia.org/wiki/Analog-to-digital_converter) devices. It is normally used by connecting an adaptor such as [firmata](https://github.com/eyelight/gobot/platforms/firmata) that supports the needed interfaces for analog devices.

## Getting Started

## Installing
```
go get -d -u gobot.io/x/gobot/...
go get -d -u github.com/eyelight/gobot/...
```

## Hardware Support
Expand Down
2 changes: 1 addition & 1 deletion drivers/aio/analog_sensor_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package aio
import (
"time"

"gobot.io/x/gobot"
"github.com/eyelight/gobot"
)

// AnalogSensorDriver represents an Analog Sensor
Expand Down
4 changes: 2 additions & 2 deletions drivers/aio/analog_sensor_driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"
"time"

"gobot.io/x/gobot"
"gobot.io/x/gobot/gobottest"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/gobottest"
)

var _ gobot.Driver = (*AnalogSensorDriver)(nil)
Expand Down
4 changes: 2 additions & 2 deletions drivers/aio/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Package aio provides Gobot drivers for Analog Input/Output devices.
Installing:
go get -d -u gobot.io/x/gobot
go get -d -u github.com/eyelight/gobot
For further information refer to aio README:
https://github.com/hybridgroup/gobot/blob/master/platforms/aio/README.md
*/
package aio // import "gobot.io/x/gobot/drivers/aio"
package aio // import "github.com/eyelight/gobot/drivers/aio"
4 changes: 2 additions & 2 deletions drivers/aio/grove_drivers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"
"time"

"gobot.io/x/gobot"
"gobot.io/x/gobot/gobottest"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/gobottest"
)

type DriverAndPinner interface {
Expand Down
2 changes: 1 addition & 1 deletion drivers/aio/grove_temperature_sensor_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"math"
"time"

"gobot.io/x/gobot"
"github.com/eyelight/gobot"
)

var _ gobot.Driver = (*GroveTemperatureSensorDriver)(nil)
Expand Down
4 changes: 2 additions & 2 deletions drivers/aio/grove_temperature_sensor_driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"
"time"

"gobot.io/x/gobot"
"gobot.io/x/gobot/gobottest"
"github.com/eyelight/gobot"
"github.com/eyelight/gobot/gobottest"
)

var _ gobot.Driver = (*GroveTemperatureSensorDriver)(nil)
Expand Down
4 changes: 2 additions & 2 deletions drivers/gpio/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# GPIO

This package provides drivers for [General Purpose Input/Output (GPIO)](https://en.wikipedia.org/wiki/General_Purpose_Input/Output) devices. It is normally used by connecting an adaptor such as [firmata](https://gobot.io/x/gobot/platforms/firmata) that supports the needed interfaces for GPIO devices.
This package provides drivers for [General Purpose Input/Output (GPIO)](https://en.wikipedia.org/wiki/General_Purpose_Input/Output) devices. It is normally used by connecting an adaptor such as [firmata](https://github.com/eyelight/gobot/platforms/firmata) that supports the needed interfaces for GPIO devices.

## Getting Started

## Installing
```
go get -d -u gobot.io/x/gobot/...
go get -d -u github.com/eyelight/gobot/...
```

## Hardware Support
Expand Down
Loading

0 comments on commit a830353

Please sign in to comment.