Skip to content

Commit

Permalink
Correct import path of module sourcegraph/go-diff
Browse files Browse the repository at this point in the history
  • Loading branch information
aofei authored and jirfag committed Apr 20, 2019
1 parent de1d1ad commit cc84f89
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ require (
github.com/shirou/gopsutil v0.0.0-20180427012116-c95755e4bcd7
github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4 // indirect
github.com/sirupsen/logrus v1.0.5
github.com/sourcegraph/go-diff v0.5.1
github.com/spf13/afero v1.1.0 // indirect
github.com/spf13/cast v1.2.0 // indirect
github.com/spf13/cobra v0.0.2
Expand All @@ -58,5 +59,4 @@ require (
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect
mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34
sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041 h1:llrF3Fs4018ePo
github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ=
github.com/sirupsen/logrus v1.0.5 h1:8c8b5uO0zS4X6RPl/sd1ENwSkIc0/H2PaHxE3udaE8I=
github.com/sirupsen/logrus v1.0.5/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc=
github.com/sourcegraph/go-diff v0.5.1 h1:gO6i5zugwzo1RVTvgvfwCOSVegNuvnNi6bAD1QCmkHs=
github.com/sourcegraph/go-diff v0.5.1/go.mod h1:j2dHj3m8aZgQO8lMTcTnBcXkRRRqi34cd2MNlA9u1mE=
github.com/spf13/afero v1.1.0 h1:bopulORc2JeYaxfHLvJa5NzxviA9PoWhpiiJkru7Ji4=
github.com/spf13/afero v1.1.0/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
github.com/spf13/cast v1.2.0 h1:HHl1DSRbEQN2i8tJmtS6ViPyHx35+p51amrdsiTCrkg=
Expand Down Expand Up @@ -192,7 +194,5 @@ mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b h1:DxJ5nJdkhDlLok9K6qO+5290kphD
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4=
mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 h1:B1LAOfRqg2QUyCdzfjf46quTSYUTAK5OCwbh6pljHbM=
mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34/go.mod h1:H6SUd1XjIs+qQCyskXg5OFSrilMRUkD8ePJpHKDPaeY=
sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455 h1:qoQ5Kt+Zm+GXBtz49YwD3juBhr/E0U25jO6bBzxW6NI=
sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455/go.mod h1:kuch7UrkMzY0X+p9CRK03kfuPQ2zzQcaEFbx8wA8rck=
sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 h1:JPJh2pk3+X4lXAkZIk2RuE/7/FoK9maXw+TNPJhVS/c=
sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4/go.mod h1:ketZ/q3QxT9HOBeFhu6RdvsftgpsbFHBF5Cas6cDKZ0=
2 changes: 1 addition & 1 deletion pkg/golinters/gofmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
gofmtAPI "github.com/golangci/gofmt/gofmt"
goimportsAPI "github.com/golangci/gofmt/goimports"
"github.com/pkg/errors"
diffpkg "github.com/sourcegraph/go-diff/diff"
"golang.org/x/tools/imports"
diffpkg "sourcegraph.com/sourcegraph/go-diff/diff"

"github.com/golangci/golangci-lint/pkg/lint/linter"
"github.com/golangci/golangci-lint/pkg/logutils"
Expand Down
2 changes: 1 addition & 1 deletion pkg/golinters/gofmt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/golangci/golangci-lint/pkg/result"

diffpkg "github.com/sourcegraph/go-diff/diff"
"github.com/stretchr/testify/assert"
diffpkg "sourcegraph.com/sourcegraph/go-diff/diff"

"github.com/golangci/golangci-lint/pkg/logutils"
)
Expand Down
2 changes: 2 additions & 0 deletions vendor/github.com/sourcegraph/go-diff/diff/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ github.com/shirou/gopsutil/net
github.com/shirou/w32
# github.com/sirupsen/logrus v1.0.5
github.com/sirupsen/logrus
# github.com/sourcegraph/go-diff v0.5.1
github.com/sourcegraph/go-diff/diff
# github.com/spf13/afero v1.1.0
github.com/spf13/afero
github.com/spf13/afero/mem
Expand Down Expand Up @@ -243,7 +245,5 @@ mvdan.cc/interfacer/check
mvdan.cc/lint
# mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34
mvdan.cc/unparam/check
# sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455
sourcegraph.com/sourcegraph/go-diff/diff
# sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
sourcegraph.com/sqs/pbtypes
2 changes: 0 additions & 2 deletions vendor/sourcegraph.com/sourcegraph/go-diff/diff/doc.go

This file was deleted.

0 comments on commit cc84f89

Please sign in to comment.