Skip to content

Commit b2092c4

Browse files
authored
Merge pull request #225 from carlosms/rename-web-golang
Rename go imports to gitbase-web
2 parents 0d4a5a7 + 14e0a3e commit b2092c4

20 files changed

+38
-38
lines changed

cmd/gitbase-playground/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"fmt"
66
"net/http"
77

8-
"github.com/src-d/gitbase-playground/server"
9-
"github.com/src-d/gitbase-playground/server/handler"
10-
"github.com/src-d/gitbase-playground/server/service"
8+
"github.com/src-d/gitbase-web/server"
9+
"github.com/src-d/gitbase-web/server/handler"
10+
"github.com/src-d/gitbase-web/server/service"
1111

1212
_ "github.com/go-sql-driver/mysql"
1313
"github.com/kelseyhightower/envconfig"

server/handler/common_integration_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"net/http"
77
"net/http/httptest"
88

9-
"github.com/src-d/gitbase-playground/server/handler"
10-
"github.com/src-d/gitbase-playground/server/serializer"
11-
"github.com/src-d/gitbase-playground/server/service"
12-
testingTools "github.com/src-d/gitbase-playground/server/testing"
9+
"github.com/src-d/gitbase-web/server/handler"
10+
"github.com/src-d/gitbase-web/server/serializer"
11+
"github.com/src-d/gitbase-web/server/service"
12+
testingTools "github.com/src-d/gitbase-web/server/testing"
1313

1414
"github.com/kelseyhightower/envconfig"
1515
"github.com/pressly/lg"

server/handler/common_unit_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package handler
33
import (
44
"net/http"
55

6-
"github.com/src-d/gitbase-playground/server/service"
6+
"github.com/src-d/gitbase-web/server/service"
77
sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1"
88

99
"github.com/pressly/lg"

server/handler/detect_lang.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"gopkg.in/src-d/enry.v1"
99

10-
"github.com/src-d/gitbase-playground/server/serializer"
10+
"github.com/src-d/gitbase-web/server/serializer"
1111
)
1212

1313
type detectLangRequest struct {

server/handler/export.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99

1010
"github.com/go-sql-driver/mysql"
1111

12-
"github.com/src-d/gitbase-playground/server/serializer"
13-
"github.com/src-d/gitbase-playground/server/service"
12+
"github.com/src-d/gitbase-web/server/serializer"
13+
"github.com/src-d/gitbase-web/server/service"
1414
)
1515

1616
// Export returns a function that forwards an SQL query to gitbase and returns

server/handler/export_integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"net/http/httptest"
77
"testing"
88

9-
"github.com/src-d/gitbase-playground/server/handler"
10-
"github.com/src-d/gitbase-playground/server/service"
9+
"github.com/src-d/gitbase-web/server/handler"
10+
"github.com/src-d/gitbase-web/server/service"
1111

1212
"github.com/stretchr/testify/suite"
1313
)

server/handler/export_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"net/http/httptest"
77
"testing"
88

9-
"github.com/src-d/gitbase-playground/server/handler"
10-
"github.com/src-d/gitbase-playground/server/service"
9+
"github.com/src-d/gitbase-web/server/handler"
10+
"github.com/src-d/gitbase-web/server/service"
1111
"github.com/stretchr/testify/assert"
1212
"github.com/stretchr/testify/suite"
1313
sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1"

server/handler/query.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"strconv"
1212
"strings"
1313

14-
"github.com/src-d/gitbase-playground/server/serializer"
15-
"github.com/src-d/gitbase-playground/server/service"
14+
"github.com/src-d/gitbase-web/server/serializer"
15+
"github.com/src-d/gitbase-web/server/service"
1616

1717
"github.com/go-sql-driver/mysql"
1818
)

server/handler/query_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88
"testing"
99

10-
"github.com/src-d/gitbase-playground/server/handler"
10+
"github.com/src-d/gitbase-web/server/handler"
1111

1212
"github.com/stretchr/testify/require"
1313
"github.com/stretchr/testify/suite"

server/handler/query_uast_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/src-d/gitbase-playground/server/handler"
9+
"github.com/src-d/gitbase-web/server/handler"
1010
"github.com/stretchr/testify/suite"
1111
)
1212

0 commit comments

Comments
 (0)