Skip to content

Commit efd445f

Browse files
authored
Merge pull request #164 from segmentio/v3-go-mod
Use go mod for v3.0 branch
2 parents 04c1a6c + 7a20670 commit efd445f

File tree

10 files changed

+36
-417
lines changed

10 files changed

+36
-417
lines changed

.circleci/config.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@ jobs:
88
steps:
99
- checkout
1010
- run: make ci
11-
build-go110:
11+
build-go113:
1212
docker:
13-
- image: circleci/golang:1.10
13+
- image: circleci/golang:1.13
1414
working_directory: /go/src/github.com/segmentio/analytics-go
1515
steps:
1616
- checkout
1717
- run: make ci
18-
build-go19:
18+
build-go112:
1919
docker:
20-
- image: circleci/golang:1.9
20+
- image: circleci/golang:1.12
2121
working_directory: /go/src/github.com/segmentio/analytics-go
2222
steps:
2323
- checkout
2424
- run: make ci
25-
build-go18:
25+
build-go111:
2626
docker:
27-
- image: circleci/golang:1.8
27+
- image: circleci/golang:1.11
2828
working_directory: /go/src/github.com/segmentio/analytics-go
2929
steps:
3030
- checkout
@@ -35,11 +35,6 @@ workflows:
3535
build:
3636
jobs:
3737
- build-golatest
38-
- build-go110
39-
- build-go19
40-
- build-go18
41-
jobs:
42-
- build-golatest
43-
- build-go110
44-
- build-go19
45-
- build-go18
38+
- build-go113
39+
- build-go112
40+
- build-go111

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# analytics-go [![Circle CI](https://circleci.com/gh/segmentio/analytics-go/tree/master.svg?style=shield)](https://circleci.com/gh/segmentio/analytics-go/tree/master) [![go-doc](https://godoc.org/github.com/segmentio/analytics-go?status.svg)](https://godoc.org/github.com/segmentio/analytics-go)
1+
# analytics-go [![Circle CI](https://circleci.com/gh/segmentio/analytics-go/tree/v3.0.svg?style=shield)](https://circleci.com/gh/segmentio/analytics-go/tree/v3.0) [![go-doc](https://godoc.org/github.com/segmentio/analytics-go?status.svg)](https://godoc.org/github.com/segmentio/analytics-go)
22

33
Segment analytics client for Go.
44

go.mod

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module github.com/segmentio/analytics-go
2+
3+
go 1.14
4+
5+
require (
6+
github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3
7+
github.com/segmentio/conf v1.2.0
8+
github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c
9+
)

go.sum

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3 h1:ZuhckGJ10ulaKkdvJtiAqsLTiPrLaXSdnVgXJKJkTxE=
2+
github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3/go.mod h1:9/Rh6yILuLysoQnZ2oNooD2g7aBnvM7r/fNVxRNWfBc=
3+
github.com/segmentio/conf v1.2.0 h1:5OT9+6OyVHLsFLsiJa/2KlqiA1m7mpdUBlkB/qYTMts=
4+
github.com/segmentio/conf v1.2.0/go.mod h1:Y3B9O/PqqWqjyxyWWseyj/quPEtMu1zDp/kVbSWWaB0=
5+
github.com/segmentio/go-snakecase v1.1.0 h1:ZJO4SNKKV0MjGOv0LHnixxN5FYv1JKBnVXEuBpwcbQI=
6+
github.com/segmentio/go-snakecase v1.1.0/go.mod h1:jk1miR5MS7Na32PZUykG89Arm+1BUSYhuGR6b7+hJto=
7+
github.com/segmentio/objconv v1.0.1 h1:QjfLzwriJj40JibCV3MGSEiAoXixbp4ybhwfTB8RXOM=
8+
github.com/segmentio/objconv v1.0.1/go.mod h1:auayaH5k3137Cl4SoXTgrzQcuQDmvuVtZgS0fb1Ahys=
9+
github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c h1:3lbZUMbMiGUW/LMkfsEABsc5zNT9+b1CvsJx47JzJ8g=
10+
github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c/go.mod h1:UrdRz5enIKZ63MEE3IF9l2/ebyx59GyGgPi+tICQdmM=
11+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
12+
gopkg.in/go-playground/mold.v2 v2.2.0 h1:Y4IYB4/HYQfuq43zaKh6vs9cVelLE9qbqe2fkyfCTWQ=
13+
gopkg.in/go-playground/mold.v2 v2.2.0/go.mod h1:XMyyRsGtakkDPbxXbrA5VODo6bUXyvoDjLd5l3T0XoA=
14+
gopkg.in/validator.v2 v2.0.0-20180514200540-135c24b11c19 h1:WB265cn5OpO+hK3pikC9hpP1zI/KTwmyMFKloW9eOVc=
15+
gopkg.in/validator.v2 v2.0.0-20180514200540-135c24b11c19/go.mod h1:o4V0GXN9/CAmCsvJ0oXYZvrZOe7syiDZSN1GWGZTGzc=
16+
gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE=
17+
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

vendor/github.com/segmentio/backo-go/.gitmodules

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

vendor/github.com/segmentio/backo-go/README.md

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

vendor/github.com/segmentio/backo-go/backo.go

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

vendor/github.com/xtgo/uuid/AUTHORS

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

vendor/github.com/xtgo/uuid/LICENSE

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

0 commit comments

Comments
 (0)