Skip to content

Commit

Permalink
Merge pull request #164 from segmentio/v3-go-mod
Browse files Browse the repository at this point in the history
Use go mod for v3.0 branch
  • Loading branch information
hblanks authored Jul 6, 2020
2 parents 04c1a6c + 7a20670 commit efd445f
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 417 deletions.
23 changes: 9 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ jobs:
steps:
- checkout
- run: make ci
build-go110:
build-go113:
docker:
- image: circleci/golang:1.10
- image: circleci/golang:1.13
working_directory: /go/src/github.com/segmentio/analytics-go
steps:
- checkout
- run: make ci
build-go19:
build-go112:
docker:
- image: circleci/golang:1.9
- image: circleci/golang:1.12
working_directory: /go/src/github.com/segmentio/analytics-go
steps:
- checkout
- run: make ci
build-go18:
build-go111:
docker:
- image: circleci/golang:1.8
- image: circleci/golang:1.11
working_directory: /go/src/github.com/segmentio/analytics-go
steps:
- checkout
Expand All @@ -35,11 +35,6 @@ workflows:
build:
jobs:
- build-golatest
- build-go110
- build-go19
- build-go18
jobs:
- build-golatest
- build-go110
- build-go19
- build-go18
- build-go113
- build-go112
- build-go111
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 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)
# 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)

Segment analytics client for Go.

Expand Down
9 changes: 9 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module github.com/segmentio/analytics-go

go 1.14

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

This file was deleted.

80 changes: 0 additions & 80 deletions vendor/github.com/segmentio/backo-go/README.md

This file was deleted.

83 changes: 0 additions & 83 deletions vendor/github.com/segmentio/backo-go/backo.go

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/github.com/xtgo/uuid/AUTHORS

This file was deleted.

27 changes: 0 additions & 27 deletions vendor/github.com/xtgo/uuid/LICENSE

This file was deleted.

Loading

0 comments on commit efd445f

Please sign in to comment.