Skip to content

Commit

Permalink
fixed broken imports due to changed path causing go get to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad Shoaei committed Oct 1, 2019
1 parent ef3933b commit 521f6ac
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cli/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"text/template"

"github.com/codegangsta/cli"
"github.com/urfave/cli"
)

type config struct {
Expand Down
2 changes: 1 addition & 1 deletion cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

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

Expand Down
5 changes: 3 additions & 2 deletions platforms/nats/nats_adaptor.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package nats

import (
"github.com/nats-io/go-nats"
"gobot.io/x/gobot"
"net/url"
"strings"

"github.com/nats-io/nats.go"
"gobot.io/x/gobot"
)

// Adaptor is a configuration struct for interacting with a NATS server.
Expand Down
2 changes: 1 addition & 1 deletion platforms/nats/nats_adaptor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"testing"

"github.com/nats-io/go-nats"
"github.com/nats-io/nats.go"
"gobot.io/x/gobot"
"gobot.io/x/gobot/gobottest"
)
Expand Down
2 changes: 1 addition & 1 deletion platforms/nats/nats_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func NewDriver(a *Adaptor, topic string) *Driver {
// Name returns name for the Driver
func (m *Driver) Name() string { return m.name }

// Name sets name for the Driver
// SetName sets name for the Driver
func (m *Driver) SetName(name string) { m.name = name }

// Connection returns Connections used by the Driver
Expand Down

0 comments on commit 521f6ac

Please sign in to comment.