Skip to content

Commit 759c507

Browse files
authored
use go mod (go-mysql-org#359)
* use go mod Signed-off-by: siddontang <siddontang@gmail.com>
1 parent 00086da commit 759c507

Some content is hidden

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

87 files changed

+28
-19334
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: go
22

33
go:
4-
- "1.9"
5-
- "1.10"
4+
- "1.11"
65

76
addons:
87
apt:
@@ -29,6 +28,8 @@ before_install:
2928

3029
- mysql -e "CREATE DATABASE IF NOT EXISTS test;" -uroot
3130

31+
env:
32+
- GO111MODULE=on
3233

3334
script:
3435
- make test

Gopkg.lock

Lines changed: 0 additions & 109 deletions
This file was deleted.

Gopkg.toml

Lines changed: 0 additions & 56 deletions
This file was deleted.

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
all: build
22

3+
GO111MODULE=on
4+
export export
5+
36
build:
47
go build -o bin/go-mysqlbinlog cmd/go-mysqlbinlog/main.go
58
go build -o bin/go-mysqldump cmd/go-mysqldump/main.go

go.mod

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module github.com/siddontang/go-mysql
2+
3+
require (
4+
github.com/BurntSushi/toml v0.3.1
5+
github.com/pingcap/errors v0.11.0
6+
github.com/satori/go.uuid v1.2.0
7+
github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24
8+
github.com/siddontang/go v0.0.0-20180604090527-bdc77568d726
9+
github.com/siddontang/go-log v0.0.0-20180807004314-8d05993dda07
10+
)

go.sum

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
2+
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
3+
github.com/pingcap/errors v0.11.0 h1:DCJQB8jrHbQ1VVlMFIrbj2ApScNNotVmkSNplu2yUt4=
4+
github.com/pingcap/errors v0.11.0/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8=
5+
github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=
6+
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
7+
github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24 h1:pntxY8Ary0t43dCZ5dqY4YTJCObLY1kIXl0uzMv+7DE=
8+
github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4=
9+
github.com/siddontang/go v0.0.0-20180604090527-bdc77568d726 h1:xT+JlYxNGqyT+XcU8iUrN18JYed2TvG9yN5ULG2jATM=
10+
github.com/siddontang/go v0.0.0-20180604090527-bdc77568d726/go.mod h1:3yhqj7WBBfRhbBlzyOC3gUxftwsU0u8gqevxwIHQpMw=
11+
github.com/siddontang/go-log v0.0.0-20180807004314-8d05993dda07 h1:oI+RNwuC9jF2g2lP0u0cVEEZrc/AYBCuFdvwrLWM/6Q=
12+
github.com/siddontang/go-log v0.0.0-20180807004314-8d05993dda07/go.mod h1:yFdBgwXP24JziuRl2NMUahT7nGLNOKi1SIiFxMttVD4=

vendor/github.com/BurntSushi/toml/COPYING

Lines changed: 0 additions & 21 deletions
This file was deleted.

vendor/github.com/BurntSushi/toml/cmd/toml-test-decoder/COPYING

Lines changed: 0 additions & 21 deletions
This file was deleted.

vendor/github.com/BurntSushi/toml/cmd/toml-test-encoder/COPYING

Lines changed: 0 additions & 21 deletions
This file was deleted.

vendor/github.com/BurntSushi/toml/cmd/tomlv/COPYING

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)