From fc1a7565f585d828fd23bbe0c2b4d1d1f0e02399 Mon Sep 17 00:00:00 2001 From: andronache98 Date: Tue, 14 Dec 2021 16:22:29 +0200 Subject: [PATCH] Changed go version to 1.17 --- go.mod | 70 ++++++++++++++++++++++++++++++++++------------------------ go.sum | 2 -- 2 files changed, 41 insertions(+), 31 deletions(-) diff --git a/go.mod b/go.mod index b14787f31..9277810c0 100644 --- a/go.mod +++ b/go.mod @@ -1,22 +1,13 @@ module github.com/cgrates/cgrates -go 1.15 +go 1.17 // replace github.com/cgrates/radigo => /home/dan/go/src/github.com/cgrates/radigo // replace github.com/cgrates/rpcclient => ../rpcclient require ( - cloud.google.com/go v0.41.1-0.20190715155837-570ba224802b // indirect - github.com/Azure/azure-sdk-for-go v33.2.0+incompatible // indirect - github.com/Azure/go-autorest/autorest v0.9.1 // indirect - github.com/Azure/go-autorest/autorest/adal v0.6.0 // indirect - github.com/Azure/go-autorest/autorest/to v0.3.0 // indirect - github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect github.com/antchfx/xmlquery v1.0.1-0.20190615060324-ebb6e8b1d119 - github.com/antchfx/xpath v1.0.1-0.20190715042825-b6dbe470e102 // indirect github.com/aws/aws-sdk-go v1.40.53 - github.com/cenk/hub v1.0.1 // indirect - github.com/cenkalti/hub v1.0.1 // indirect github.com/cenkalti/rpc2 v0.0.0-20210604223624-c1acbc6ec984 github.com/cgrates/aringo v0.0.0-20191121125609-d85002bd1667 github.com/cgrates/fsock v0.0.0-20191107070144-e7a331109df7 @@ -25,42 +16,63 @@ require ( github.com/cgrates/radigo v0.0.0-20200306160903-17b28bb0e1bb github.com/cgrates/rpcclient v0.0.0-20210218104959-97dcf0d39a2c github.com/creack/pty v1.1.16 - github.com/davecgh/go-spew v1.1.1 // indirect github.com/fiorix/go-diameter v3.0.3-0.20190716165154-f4823472d0e0+incompatible - github.com/fortytw2/leaktest v1.3.0 // indirect github.com/fsnotify/fsnotify v1.5.1 github.com/go-sql-driver/mysql v1.6.0 - github.com/go-stack/stack v1.8.0 // indirect - github.com/golang/protobuf v1.5.2 // indirect - github.com/golang/snappy v0.0.4 // indirect github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75 - github.com/hashicorp/golang-lru v0.5.2-0.20190520140433-59383c442f7d // indirect - github.com/ishidawataru/sctp v0.0.0-20190922091402-408ec287e38c // indirect github.com/jinzhu/gorm v1.9.16 - github.com/klauspost/compress v1.13.6 // indirect - github.com/kr/pretty v0.3.0 // indirect github.com/lib/pq v1.10.3 - github.com/mattn/go-runewidth v0.0.13 // indirect github.com/mediocregopher/radix.v2 v0.0.0-20181115013041-b67df6e626f9 github.com/miekg/dns v1.1.43 github.com/mitchellh/mapstructure v1.4.2 github.com/nyaruka/phonenumbers v1.0.71 github.com/peterh/liner v1.2.1 - github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/segmentio/kafka-go v0.4.20 github.com/streadway/amqp v1.0.1-0.20200716223359-e6b33f460591 - github.com/tidwall/pretty v1.0.0 // indirect github.com/ugorji/go/codec v1.2.6 - github.com/xdg/stringprep v1.0.1-0.20180714160509-73f8eece6fdc // indirect go.mongodb.org/mongo-driver v1.1.1 - go.opencensus.io v0.22.1-0.20190713072201-b4a14686f0a9 // indirect - golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect golang.org/x/net v0.0.0-20210929193557-e81a3d93ecf6 golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 - golang.org/x/sys v0.0.0-20211001092434-39dca1131b70 // indirect - golang.org/x/text v0.3.7 // indirect google.golang.org/api v0.10.0 - google.golang.org/grpc v1.24.0 // indirect - google.golang.org/protobuf v1.27.1 // indirect pack.ag/amqp v0.12.2 ) + +require ( + cloud.google.com/go v0.41.1-0.20190715155837-570ba224802b // indirect + github.com/Azure/azure-sdk-for-go v33.2.0+incompatible // indirect + github.com/Azure/go-autorest/autorest v0.9.1 // indirect + github.com/Azure/go-autorest/autorest/adal v0.6.0 // indirect + github.com/Azure/go-autorest/autorest/to v0.3.0 // indirect + github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect + github.com/antchfx/xpath v1.0.1-0.20190715042825-b6dbe470e102 // indirect + github.com/cenk/hub v1.0.1 // indirect + github.com/cenkalti/hub v1.0.1 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/fortytw2/leaktest v1.3.0 // indirect + github.com/go-stack/stack v1.8.0 // indirect + github.com/golang/protobuf v1.5.2 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/googleapis/gax-go/v2 v2.0.5 // indirect + github.com/hashicorp/golang-lru v0.5.2-0.20190520140433-59383c442f7d // indirect + github.com/ishidawataru/sctp v0.0.0-20190922091402-408ec287e38c // indirect + github.com/jinzhu/inflection v1.0.0 // indirect + github.com/jmespath/go-jmespath v0.4.0 // indirect + github.com/klauspost/compress v1.13.6 // indirect + github.com/kr/pretty v0.3.0 // indirect + github.com/mattn/go-runewidth v0.0.13 // indirect + github.com/pierrec/lz4 v2.6.1+incompatible // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/rivo/uniseg v0.2.0 // indirect + github.com/tidwall/pretty v1.0.0 // indirect + github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c // indirect + github.com/xdg/stringprep v1.0.1-0.20180714160509-73f8eece6fdc // indirect + go.opencensus.io v0.22.1-0.20190713072201-b4a14686f0a9 // indirect + golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect + golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect + golang.org/x/sys v0.0.0-20211001092434-39dca1131b70 // indirect + golang.org/x/text v0.3.7 // indirect + google.golang.org/appengine v1.6.1 // indirect + google.golang.org/genproto v0.0.0-20190708153700-3bdd9d9f5532 // indirect + google.golang.org/grpc v1.24.0 // indirect + google.golang.org/protobuf v1.27.1 // indirect +) diff --git a/go.sum b/go.sum index 8db47c73d..86d5c9c6f 100644 --- a/go.sum +++ b/go.sum @@ -16,7 +16,6 @@ github.com/Azure/go-autorest/autorest/date v0.2.0 h1:yW+Zlqf26583pE43KhfnhFcdmSW github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g= github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.3.0 h1:qJumjCaCudz+OcqE9/XtEPfvtOjOmKaui4EOpFI6zZc= github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= github.com/Azure/go-autorest/autorest/to v0.3.0 h1:zebkZaadz7+wIQYgC7GXaz3Wb28yKYfVkkBKwc38VF8= github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsIWKAfJfgHDo8ObuUk3t5sA= @@ -305,7 +304,6 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=