From 771c5520dc92db1f6625cd3a6e1fb589e398bb98 Mon Sep 17 00:00:00 2001 From: Pedro Andrade Date: Wed, 30 Oct 2019 06:57:15 -0300 Subject: [PATCH] Add support to go modules - also, remove the glide dep manager --- glide.lock | 81 ------------------------------------------------------ glide.yaml | 65 ------------------------------------------- go.mod | 15 ++++++++++ go.sum | 27 ++++++++++++++++++ 4 files changed, 42 insertions(+), 146 deletions(-) delete mode 100644 glide.lock delete mode 100644 glide.yaml create mode 100644 go.mod create mode 100644 go.sum diff --git a/glide.lock b/glide.lock deleted file mode 100644 index abe5612..0000000 --- a/glide.lock +++ /dev/null @@ -1,81 +0,0 @@ -hash: 888c76d30c4f09b8dc1b9e3f03b5f8aca71a4fce1f61f86b00ec2acf4f1bff87 -updated: 2017-03-22T03:38:40.868274029-05:00 -imports: -- name: github.com/aws/aws-sdk-go - version: 5b99715ae2945a2434a2371f4e6c5542e839a32d - subpackages: - - aws - - aws/awserr - - aws/awsutil - - aws/client - - aws/client/metadata - - aws/corehandlers - - aws/credentials - - aws/credentials/ec2rolecreds - - aws/credentials/endpointcreds - - aws/credentials/stscreds - - aws/defaults - - aws/ec2metadata - - aws/endpoints - - aws/request - - aws/session - - aws/signer/v4 - - private/protocol - - private/protocol/json/jsonutil - - private/protocol/jsonrpc - - private/protocol/query - - private/protocol/query/queryutil - - private/protocol/rest - - private/protocol/xml/xmlutil - - private/waiter - - service/firehose - - service/firehose/firehoseiface - - service/kinesis - - service/kinesis/kinesisiface - - service/sts -- name: github.com/go-ini/ini - version: 1730955e3146956d6a087861380f9b4667ed5071 -- name: github.com/gopherjs/gopherjs - version: 0cc212b4ef1943b61e894a7d56490575b3216439 - subpackages: - - js -- name: github.com/jmespath/go-jmespath - version: bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d -- name: github.com/jtolds/gls - version: f1ac7f4f24f50328e6bc838ca4437d1612a0243c -- name: github.com/klauspost/compress - version: e3b7981a12dd3cab49afa1d3a50e715846f23732 - subpackages: - - flate - - gzip - - zlib -- name: github.com/klauspost/cpuid - version: 09cded8978dc9e80714c4d85b0322337b0a1e5e0 -- name: github.com/klauspost/crc32 - version: cb6bfca970f6908083f26f39a79009d608efd5cd -- name: github.com/smartystreets/assertions - version: c9ee7d9e9a2aeec0bee7c4a516f3e0ad7cb7e558 - subpackages: - - internal/go-render/render - - internal/oglematchers -- name: github.com/smartystreets/goconvey - version: 3bd662eac601ad6436e64776af2e112069eb2edc - subpackages: - - convey - - convey/gotest - - convey/reporting -- name: github.com/valyala/bytebufferpool - version: e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7 -- name: github.com/valyala/fasthttp - version: 0503f9d38c2eb8793a0210f950a815810ffd1b64 - subpackages: - - fasthttputil -- name: gopkg.in/gcfg.v1 - version: 27e4946190b4a327b539185f2b5b1f7c84730728 - subpackages: - - scanner - - token - - types -- name: gopkg.in/warnings.v0 - version: 8a331561fe74dadba6edfc59f3be66c22c3b065d -testImports: [] diff --git a/glide.yaml b/glide.yaml deleted file mode 100644 index bfce6c6..0000000 --- a/glide.yaml +++ /dev/null @@ -1,65 +0,0 @@ -package: github.com/rewardStyle/kinetic -import: -- package: github.com/aws/aws-sdk-go - version: 5b99715ae2945a2434a2371f4e6c5542e839a32d - subpackages: - - aws - - aws/awserr - - aws/awsutil - - aws/client - - aws/client/metadata - - aws/corehandlers - - aws/credentials - - aws/credentials/ec2rolecreds - - aws/credentials/endpointcreds - - aws/credentials/stscreds - - aws/defaults - - aws/ec2metadata - - aws/endpoints - - aws/request - - aws/session - - aws/signer/v4 - - private/protocol - - private/protocol/json/jsonutil - - private/protocol/jsonrpc - - private/protocol/query - - private/protocol/query/queryutil - - private/protocol/rest - - private/protocol/xml/xmlutil - - private/waiter - - service/firehose - - service/firehose/firehoseiface - - service/kinesis - - service/kinesis/kinesisiface - - service/sts -- package: github.com/go-ini/ini - version: 1730955e3146956d6a087861380f9b4667ed5071 -- package: github.com/gopherjs/gopherjs - version: 0cc212b4ef1943b61e894a7d56490575b3216439 - subpackages: - - js -- package: github.com/jmespath/go-jmespath - version: bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d -- package: github.com/jtolds/gls - version: f1ac7f4f24f50328e6bc838ca4437d1612a0243c -- package: github.com/smartystreets/assertions - version: c9ee7d9e9a2aeec0bee7c4a516f3e0ad7cb7e558 - subpackages: - - internal/go-render/render - - internal/oglematchers -- package: github.com/smartystreets/goconvey - version: 3bd662eac601ad6436e64776af2e112069eb2edc - subpackages: - - convey - - convey/gotest - - convey/reporting -- package: gopkg.in/gcfg.v1 - version: 27e4946190b4a327b539185f2b5b1f7c84730728 - subpackages: - - scanner - - token - - types -- package: gopkg.in/warnings.v0 - version: 8a331561fe74dadba6edfc59f3be66c22c3b065d -- package: github.com/valyala/fasthttp - version: fc109d6887b5edb43510d924d14d735f3975fb51 diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..923ff77 --- /dev/null +++ b/go.mod @@ -0,0 +1,15 @@ +module github.com/rewardStyle/kinetic + +go 1.13 + +require ( + github.com/aws/aws-sdk-go v1.7.10-0.20170317202926-5b99715ae294 + github.com/go-ini/ini v1.26.0 // indirect + github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7 // indirect + github.com/jtolds/gls v0.0.0-20141103185736-f1ac7f4f24f5 // indirect + github.com/smartystreets/assertions v0.0.0-20170213165318-c9ee7d9e9a2a // indirect + github.com/smartystreets/goconvey v1.6.3-0.20170110120022-3bd662eac601 + github.com/stretchr/testify v1.4.0 // indirect + gopkg.in/gcfg.v1 v1.2.0 + gopkg.in/warnings.v0 v0.1.1 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..aea6a23 --- /dev/null +++ b/go.sum @@ -0,0 +1,27 @@ +github.com/aws/aws-sdk-go v1.7.10-0.20170317202926-5b99715ae294 h1:DiBdCm8g8WtaRZNEf+hV0CINWYQKy8L8B6WANCauVQ4= +github.com/aws/aws-sdk-go v1.7.10-0.20170317202926-5b99715ae294/go.mod h1:ZRmQr0FajVIyZ4ZzBYKG5P3ZqPz9IHG41ZoMu1ADI3k= +github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/go-ini/ini v1.26.0 h1:L6QZOsKl6CI5DGgGpt1GUXwd5Vu87eq0LEg3Wum8iVM= +github.com/go-ini/ini v1.26.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= +github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7 h1:SMvOWPJCES2GdFracYbBQh93GXac8fq7HeN6JnpduB8= +github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jtolds/gls v0.0.0-20141103185736-f1ac7f4f24f5 h1:9mpnJKzVyKT4GrQG4GSPTm6fsc3tcJlAZwELyxSlizY= +github.com/jtolds/gls v0.0.0-20141103185736-f1ac7f4f24f5/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/smartystreets/assertions v0.0.0-20170213165318-c9ee7d9e9a2a h1:olUqRDtu3plVoIwRnneCTGLSHaOW6OSFw1rN+PKw8n0= +github.com/smartystreets/assertions v0.0.0-20170213165318-c9ee7d9e9a2a/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/goconvey v1.6.3-0.20170110120022-3bd662eac601 h1:1qtZvttnto2KY0Ke6/T5FZItTCpxqh3siu6iSISJ3DY= +github.com/smartystreets/goconvey v1.6.3-0.20170110120022-3bd662eac601/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/gcfg.v1 v1.2.0 h1:0HIbH907iBTAntm+88IJV2qmJALDAh8sPekI9Vc1fm0= +gopkg.in/gcfg.v1 v1.2.0/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= +gopkg.in/warnings.v0 v0.1.1 h1:XM28wIgFzaBmeZ5dNHIpWLQpt/9DGKxk+rCg/22nnYE= +gopkg.in/warnings.v0 v0.1.1/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=