Skip to content

Commit

Permalink
refactor(import): revert module name
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-brito committed Oct 16, 2020
1 parent da0bd86 commit c21095c
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 15 deletions.
4 changes: 2 additions & 2 deletions analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"path/filepath"
"strings"

log "github.com/sirupsen/logrus"
"github.com/rodrigo-brito/gocity/lib"

"gocity/lib"
log "github.com/sirupsen/logrus"
)

type Analyzer interface {
Expand Down
2 changes: 1 addition & 1 deletion analyzer/visitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"go/ast"
"go/token"

"gocity/lib"
"github.com/rodrigo-brito/gocity/lib"
)

type NodeInfo struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module gocity
module github.com/rodrigo-brito/gocity

go 1.15

Expand Down
8 changes: 4 additions & 4 deletions handle/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"net/http"
"time"

"gocity/analyzer"
"gocity/handle/middlewares"
"gocity/lib"
"gocity/model"
"github.com/rodrigo-brito/gocity/analyzer"
"github.com/rodrigo-brito/gocity/handle/middlewares"
"github.com/rodrigo-brito/gocity/lib"
"github.com/rodrigo-brito/gocity/model"

"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
Expand Down
3 changes: 1 addition & 2 deletions lib/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import (
"os"

log "github.com/sirupsen/logrus"

git "gopkg.in/src-d/go-git.v4"
"gopkg.in/src-d/go-git.v4"
"gopkg.in/src-d/go-git.v4/plumbing"
)

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"os"

"gocity/handle"
"gocity/lib"
"github.com/rodrigo-brito/gocity/handle"
"github.com/rodrigo-brito/gocity/lib"

log "github.com/sirupsen/logrus"
"github.com/urfave/cli"
Expand Down
4 changes: 2 additions & 2 deletions model/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"sort"
"strings"

"gocity/analyzer"
"gocity/lib"
"github.com/rodrigo-brito/gocity/analyzer"
"github.com/rodrigo-brito/gocity/lib"
)

type NodeType string
Expand Down
2 changes: 1 addition & 1 deletion model/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/magiconair/properties/assert"

"gocity/analyzer"
"github.com/rodrigo-brito/gocity/analyzer"
)

func TestNode_GenerateChildList(t *testing.T) {
Expand Down

0 comments on commit c21095c

Please sign in to comment.