Skip to content

Commit 15aecba

Browse files
authored
Merge pull request #312 from carlosms/dep-update
Update go dependencies
2 parents a128c7d + 4c3ce27 commit 15aecba

File tree

119 files changed

+57470
-39015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+57470
-39015
lines changed

Gopkg.lock

+67-29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

+3-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[[constraint]]
1010
name = "github.com/go-chi/chi"
11-
version = "3.3.2"
11+
version = "4.0.1"
1212

1313
[[constraint]]
1414
name = "github.com/kelseyhightower/envconfig"
@@ -36,11 +36,7 @@
3636

3737
[[constraint]]
3838
name = "gopkg.in/bblfsh/client-go.v3"
39-
version = "3.1.0"
40-
41-
[[override]]
42-
name = "gopkg.in/bblfsh/sdk.v1"
43-
version = "1.16.0"
39+
version = "3.2.0"
4440

4541
[[constraint]]
4642
name = "gopkg.in/bblfsh/sdk.v2"
@@ -56,4 +52,4 @@
5652

5753
[[constraint]]
5854
name = "gopkg.in/src-d/go-cli.v0"
59-
revision = "b67fb56aacf6ab362e2758a584eb346816a18ff8"
55+
branch= "master"

server/handler/detect_lang_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (suite *DetectLangSuite) TestDetect() {
7070
suite.Equal(http.StatusOK, res.Code)
7171

7272
lang, langType := langResponse(res.Body.Bytes())
73-
suite.Equal("Matlab", lang)
73+
suite.Equal("MATLAB", lang)
7474
suite.Equal(enry.Programming, langType)
7575
}
7676

server/service/uast.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bytes"
55
"fmt"
66

7-
"gopkg.in/bblfsh/sdk.v1/protocol"
7+
bblfsh "gopkg.in/bblfsh/client-go.v3"
88
"gopkg.in/bblfsh/sdk.v2/uast/nodes"
99
"gopkg.in/bblfsh/sdk.v2/uast/nodes/nodesproto"
1010
errors "gopkg.in/src-d/go-errors.v1"
@@ -55,7 +55,7 @@ type Language struct {
5555
Name string `json:"name"`
5656
}
5757

58-
func DriverManifestsToLangs(drivers []protocol.DriverManifest) []Language {
58+
func DriverManifestsToLangs(drivers []bblfsh.DriverManifest) []Language {
5959
result := make([]Language, len(drivers))
6060

6161
for i, driver := range drivers {

vendor/github.com/go-chi/chi/context.go

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/go-chi/chi/middleware/closenotify17.go

-42
This file was deleted.

vendor/github.com/go-chi/chi/middleware/closenotify18.go

-17
This file was deleted.

0 commit comments

Comments
 (0)