Skip to content

Commit d3b2972

Browse files
tangentakennytm
authored andcommitted
rename go.mod1 to go.mod (#682)
* rename go.mod1 to go.mod * update .gitignore * downgrade logrus
1 parent 2aa1ade commit d3b2972

4 files changed

Lines changed: 4 additions & 16 deletions

File tree

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ bin/
22
y.go
33
*.output
44
.idea/
5-
go.mod
6-
go.sum
75
coverage.txt

go.mod1 renamed to go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/pingcap/tipb v0.0.0-20190428032612-535e1abaa330
1414
github.com/pkg/errors v0.8.1 // indirect
1515
github.com/remyoudompheng/bigfft v0.0.0-20190728182440-6a916e37a237 // indirect
16-
github.com/sirupsen/logrus v1.3.0
16+
github.com/sirupsen/logrus v1.2.0
1717
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2
1818
)
1919

go.sum1 renamed to go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
2828
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2929
github.com/remyoudompheng/bigfft v0.0.0-20190728182440-6a916e37a237 h1:HQagqIiBmr8YXawX/le3+O26N+vPPC1PtjaF3mwnook=
3030
github.com/remyoudompheng/bigfft v0.0.0-20190728182440-6a916e37a237/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=
31-
github.com/sirupsen/logrus v1.3.0 h1:hI/7Q+DtNZ2kINb6qt/lS+IyXnHQe9e90POfeewL/ME=
32-
github.com/sirupsen/logrus v1.3.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
31+
github.com/sirupsen/logrus v1.2.0 h1:juTguoYk5qI21pwyTXY3B3Y5cOTH3ZUyZCg1v/mihuo=
32+
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
3333
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
3434
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
3535
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=

test.sh

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1 @@
1-
{
2-
mv go.mod1 go.mod
3-
mv go.sum1 go.sum
4-
GO111MODULE=on go test -p 1 -race -covermode=atomic -coverprofile=coverage.txt -coverpkg=./... ./...
5-
} || {
6-
mv go.mod go.mod1
7-
mv go.sum go.sum1
8-
}
9-
10-
mv go.mod go.mod1
11-
mv go.sum go.sum1
1+
GO111MODULE=on go test -p 1 -race -covermode=atomic -coverprofile=coverage.txt -coverpkg=./... ./...

0 commit comments

Comments
 (0)