From 803b1e2049d655cb79e9aea55f0fc351ad3024a7 Mon Sep 17 00:00:00 2001 From: dantudor Date: Sun, 18 Oct 2020 23:10:42 +0100 Subject: [PATCH] Bump to v2 --- cmd/address-validator/main.go | 4 +- cmd/indexer-cli/main.go | 2 +- cmd/indexerd/main.go | 2 +- cmd/soft-fork/main.go | 4 +- go.mod | 20 +- go.sum | 178 ++++++++++++++++++ internal/config/di/definitions.go | 28 +-- internal/daemon/daemon.go | 8 +- internal/elastic_cache/Indices.go | 2 +- internal/elastic_cache/elastic_cache.go | 4 +- internal/indexer/indexer.go | 16 +- internal/indexer/rewinder.go | 10 +- internal/service/address/addresses.go | 2 +- internal/service/address/factory.go | 2 +- internal/service/address/indexer.go | 4 +- internal/service/address/repository.go | 4 +- internal/service/address/rewinder.go | 4 +- internal/service/block/block.go | 2 +- internal/service/block/factory.go | 2 +- internal/service/block/indexer.go | 8 +- internal/service/block/orphan.go | 2 +- internal/service/block/repository.go | 4 +- internal/service/block/rewinder.go | 2 +- internal/service/block/service.go | 2 +- internal/service/dao/consensus/consensus.go | 2 +- internal/service/dao/consensus/indexer.go | 4 +- internal/service/dao/consensus/repository.go | 4 +- internal/service/dao/consensus/rewinder.go | 4 +- internal/service/dao/consensus/service.go | 6 +- .../service/dao/consultation/consultations.go | 2 +- internal/service/dao/consultation/factory.go | 2 +- internal/service/dao/consultation/indexer.go | 8 +- .../service/dao/consultation/repository.go | 4 +- internal/service/dao/consultation/service.go | 4 +- internal/service/dao/indexer.go | 12 +- .../service/dao/payment_request/factory.go | 2 +- .../service/dao/payment_request/indexer.go | 4 +- .../dao/payment_request/paymentRequests.go | 2 +- .../service/dao/payment_request/repository.go | 4 +- .../service/dao/payment_request/service.go | 2 +- internal/service/dao/proposal/factory.go | 2 +- internal/service/dao/proposal/indexer.go | 4 +- internal/service/dao/proposal/proposals.go | 2 +- internal/service/dao/proposal/repository.go | 4 +- internal/service/dao/proposal/service.go | 2 +- internal/service/dao/rewinder.go | 6 +- internal/service/dao/vote/factory.go | 2 +- internal/service/dao/vote/indexer.go | 4 +- internal/service/softfork/indexer.go | 6 +- internal/service/softfork/repository.go | 4 +- internal/service/softfork/rewinder.go | 8 +- internal/service/softfork/service.go | 4 +- internal/service/softfork/signal/factory.go | 2 +- .../service/softfork/signal/repository.go | 4 +- 54 files changed, 305 insertions(+), 131 deletions(-) diff --git a/cmd/address-validator/main.go b/cmd/address-validator/main.go index b346068..852d28e 100644 --- a/cmd/address-validator/main.go +++ b/cmd/address-validator/main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/NavExplorer/navexplorer-indexer-go/generated/dic" - "github.com/NavExplorer/navexplorer-indexer-go/internal/config" + "github.com/NavExplorer/navexplorer-indexer-go/v2/generated/dic" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/config" "github.com/sarulabs/dingo/v3" "os" ) diff --git a/cmd/indexer-cli/main.go b/cmd/indexer-cli/main.go index 5bad1ee..7f7fcc8 100644 --- a/cmd/indexer-cli/main.go +++ b/cmd/indexer-cli/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/NavExplorer/navexplorer-indexer-go/internal/cli" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/cli" log "github.com/sirupsen/logrus" ) diff --git a/cmd/indexerd/main.go b/cmd/indexerd/main.go index 5cbb8d4..3f5c436 100644 --- a/cmd/indexerd/main.go +++ b/cmd/indexerd/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/NavExplorer/navexplorer-indexer-go/internal/daemon" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/daemon" ) func main() { diff --git a/cmd/soft-fork/main.go b/cmd/soft-fork/main.go index 5e739f6..8988ac4 100644 --- a/cmd/soft-fork/main.go +++ b/cmd/soft-fork/main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/NavExplorer/navexplorer-indexer-go/generated/dic" - "github.com/NavExplorer/navexplorer-indexer-go/internal/config" + "github.com/NavExplorer/navexplorer-indexer-go/v2/generated/dic" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/config" "github.com/sarulabs/dingo/v3" log "github.com/sirupsen/logrus" ) diff --git a/go.mod b/go.mod index 12599df..0e60b29 100644 --- a/go.mod +++ b/go.mod @@ -1,23 +1,19 @@ -module github.com/NavExplorer/navexplorer-indexer-go +module github.com/NavExplorer/navexplorer-indexer-go/v2 -go 1.13 +go 1.14 require ( - github.com/NavExplorer/navcoind-go v0.1.8-0.20200709223613-3322962ba291 - github.com/NavExplorer/subscriber v0.0.0-20200923000930-1321b56838fc - github.com/certifi/gocertifi v0.0.0-20200211180108-c7c1fbc02894 // indirect - github.com/dgraph-io/badger/v2 v2.0.3 // indirect + github.com/NavExplorer/navcoind-go v1.1.0 + github.com/NavExplorer/subscriber v1.0.0 + github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054 // indirect github.com/getsentry/raven-go v0.2.0 github.com/gosimple/slug v1.9.0 github.com/joho/godotenv v1.3.0 - github.com/mr-tron/base58 v1.2.0 - github.com/olivere/elastic/v7 v7.0.9 + github.com/olivere/elastic/v7 v7.0.21 github.com/patrickmn/go-cache v2.1.0+incompatible github.com/sarulabs/dingo/v3 v3.1.0 github.com/sirupsen/logrus v1.6.0 - github.com/spf13/cobra v1.0.0 - github.com/spf13/pflag v1.0.5 // indirect - github.com/streadway/amqp v0.0.0-20200108173154-1c71cc93ed71 - golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4 + github.com/spf13/cobra v1.1.1 + github.com/streadway/amqp v1.0.0 gopkg.in/natefinch/lumberjack.v2 v2.0.0 ) diff --git a/go.sum b/go.sum index b133d55..3790c17 100644 --- a/go.sum +++ b/go.sum @@ -1,31 +1,61 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/zstd v1.4.1/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= github.com/NavExplorer/navcoind-go v0.1.8-0.20200709223613-3322962ba291 h1:kHIh0LP5ynNDNb0rzMHptcQwO5ZH/rw+vWp3S10uACY= github.com/NavExplorer/navcoind-go v0.1.8-0.20200709223613-3322962ba291/go.mod h1:CEjLeqFkhdtqOUbpd5Aoo288nX1X1M/TXUpGXCkm1tk= +github.com/NavExplorer/navcoind-go v1.0.0 h1:qZ34/n7dqzQaicTw6q5f1WNmw9SXXdBdxZWbLDR5PHg= +github.com/NavExplorer/navcoind-go v1.0.0/go.mod h1:SkiAvsIfYh0pWBox2yOOiDaPOucS/bayAVkMUNR0Sv0= +github.com/NavExplorer/navcoind-go v1.1.0 h1:6JiNgYZqtH8hvslOyUMQWM1s7RLQZMqSG/jNJLd8rYQ= +github.com/NavExplorer/navcoind-go v1.1.0/go.mod h1:CEjLeqFkhdtqOUbpd5Aoo288nX1X1M/TXUpGXCkm1tk= +github.com/NavExplorer/navexplorer-indexer-go v0.0.0-20201018212848-8f083a5780f7 h1:HVupROPLtk5tDcBEynTF9UAjrL+x4w9rg9G1BHWmdN0= +github.com/NavExplorer/navexplorer-indexer-go v0.0.0-20201018212848-8f083a5780f7/go.mod h1:oK/hf93fbi8IZIMI7iA7wHpkI5y8pmvsqr/M+gQeL5U= github.com/NavExplorer/subscriber v0.0.0-20200601212953-3a6c48dd3d5d h1:4tlsQCkBbil7rexH6A0CGyRh5I7z1QP/ftiFLWP7ADo= github.com/NavExplorer/subscriber v0.0.0-20200601212953-3a6c48dd3d5d/go.mod h1:b9UVwdUV1OVGDsOMqOJeu5Rk5SPyOgfHfvM0HH4fvdU= github.com/NavExplorer/subscriber v0.0.0-20200923000930-1321b56838fc h1:Qh/wA4qAubfyl0s4LsZER26iGqnajRBT3tXi4/Tmbpo= github.com/NavExplorer/subscriber v0.0.0-20200923000930-1321b56838fc/go.mod h1:2j06trBo93OSjGJk9CrU1v+k9DSNebc/AA3tFQ1/BqE= +github.com/NavExplorer/subscriber v1.0.0 h1:GY0uASj37RsevGLtpqtmy2n7V/RU4WzztaoNLBQ/p20= +github.com/NavExplorer/subscriber v1.0.0/go.mod h1:2j06trBo93OSjGJk9CrU1v+k9DSNebc/AA3tFQ1/BqE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= +github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/aws/aws-sdk-go v1.25.25/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go v1.34.13/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= github.com/certifi/gocertifi v0.0.0-20200211180108-c7c1fbc02894 h1:JLaf/iINcLyjwbtTsCJjc6rtlASgHeIJPrB6QmwURnA= github.com/certifi/gocertifi v0.0.0-20200211180108-c7c1fbc02894/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= +github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054 h1:uH66TXeswKn5PW5zdZ39xEwfS9an067BirqA+P4QaLI= +github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= @@ -48,9 +78,11 @@ github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4 github.com/getsentry/raven-go v0.2.0 h1:no+xWJRb5ZI7eE8TWgIq1jLulQiIoLG0IfYxv5JYMGs= github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= github.com/gobuffalo/logger v1.0.0/go.mod h1:2zbswyIUa45I+c+FLXuWl9zSWEiVuthsk8ze5s8JvPs= @@ -65,8 +97,10 @@ github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4er github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= @@ -75,28 +109,62 @@ github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvq github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gosimple/slug v1.9.0 h1:r5vDcYrFz9BmfIAMC829un9hq7hKM4cHUrsv36LbEqs= github.com/gosimple/slug v1.9.0/go.mod h1:AMZ+sOVe65uByN3kgEyf9WEBKBCSS+dJjMX9x4vDJbg= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= +github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= +github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= +github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= +github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= +github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/karrick/godirwalk v1.10.12/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= @@ -110,29 +178,52 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e h1:hB2xlXdHp/pmPZq0y3QnmWAArdw9PqbmotexnWx/FU8= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.7.6 h1:8yTIVnZgCoiM1TgqoeTl+LfU5Jg6/xL3QhGQnimLYnA= +github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= +github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= +github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= +github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o= github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= +github.com/olivere/elastic v1.0.1 h1:UeafjZg+TifCVPhCJNPof0pUHig6vbXuJEbC/A+Ouo0= +github.com/olivere/elastic v6.2.35+incompatible h1:MMklYDy2ySi01s123CB2WLBuDMzFX4qhFcA5tKWJPgM= github.com/olivere/elastic/v7 v7.0.9 h1:+bTR1xJbfLYD8WnTBt9672mFlKxjfWRJpEQ1y8BMS3g= github.com/olivere/elastic/v7 v7.0.9/go.mod h1:2TeRd0vhLRTK9zqm5xP0uLiVeZ5yUoL7kZ+8SZA9r9Y= +github.com/olivere/elastic/v7 v7.0.21 h1:58a2pMlLketCsLyKg8kJNJG+OZIFKrSQXX6gJBpqqlg= +github.com/olivere/elastic/v7 v7.0.21/go.mod h1:Kh7iIsXIBl5qRQOBFoylCsXVTtye3keQU2Y/YbR7HD8= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/onsi/gomega v1.8.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= +github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/patrickmn/go-cache v1.0.0 h1:3gD5McaYs9CxjyK5AXGcq8gdeCARtd/9gJDUvVeaZ0Y= github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= github.com/pebbe/zmq4 v1.2.1 h1:jrXQW3mD8Si2mcSY/8VBs2nNkK/sKCOEM0rHAfxyc8c= @@ -144,7 +235,10 @@ github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= @@ -166,14 +260,22 @@ github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/sarulabs/dingo v1.0.2 h1:iIou0bZdRAoZJNQPdNyHbjibrGQGkweCRfNJf8NANX0= +github.com/sarulabs/dingo v2.0.0+incompatible h1:f9pmmm5cHdSOMQntbLqWh7rjmTXFR5oDOHMxbEurh1A= github.com/sarulabs/dingo/v3 v3.1.0 h1:ElWFaP/wvI1NYl5THVYZl/fKxxikaAAmdQdyNBmHsh4= github.com/sarulabs/dingo/v3 v3.1.0/go.mod h1:vr6wVyi2X3o8mVffmajfLvY0xKLB9kgGwmGkRCCsrHE= +github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/assertions v1.1.1/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo= github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9/go.mod h1:SnhjPscd9TpLiy1LpzGSKh3bXCfxxXuqd9xmQJy3slM= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/smartystreets/gunit v1.4.2/go.mod h1:ZjM1ozSIMJlAz/ay4SG8PeKF00ckUp+zMHZXV9/bvak= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= @@ -182,19 +284,26 @@ github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkU github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= +github.com/spf13/cobra v1.1.1 h1:KfztREH0tPxJJ+geloSLaAkaPkr4ki2Er5quFV1TDo4= +github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= +github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/streadway/amqp v0.0.0-20200108173154-1c71cc93ed71 h1:2MR0pKUzlP3SGgj5NYJe/zRYDwOu9ku6YHy+Iw7l5DM= github.com/streadway/amqp v0.0.0-20200108173154-1c71cc93ed71/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/amqp v1.0.0 h1:kuuDrUJFZL1QYL9hUNuCxNObNzB0bV/ZG5jV3RWAQgo= +github.com/streadway/amqp v1.0.0/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= @@ -202,53 +311,88 @@ github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.1/go.mod h1:Ap50jQcDJrx6rB6VgeeFPtuPIf3wMRvRfrfYDO6+BmA= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4 h1:ydJNl0ENAG67pFbB+9tfhiL2pYqLhfoaZFw/cjLhY4A= golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190515120540-06a5c4944438/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0 h1:HyfiK1WMnHj5FXFXatD+Qs1A/xC2Run6RzeW1SyHxpc= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb h1:fgwFCsaw9buMuxNd6+DQfAuSFqbNiQZpcgJQAgJsK6k= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -257,7 +401,9 @@ golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 h1:DYfZAGf2WMFjMxbgTjaC+2HC7NkNAQs+6Q8b9WEB/F4= golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -265,19 +411,45 @@ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190624180213-70d37148ca0c/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -290,6 +462,7 @@ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= @@ -298,6 +471,11 @@ gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bl gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= diff --git a/internal/config/di/definitions.go b/internal/config/di/definitions.go index 70204ef..959b6e9 100644 --- a/internal/config/di/definitions.go +++ b/internal/config/di/definitions.go @@ -2,20 +2,20 @@ package di import ( "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/config" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/internal/event" - "github.com/NavExplorer/navexplorer-indexer-go/internal/indexer" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/address" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/block" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/consensus" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/consultation" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/payment_request" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/proposal" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/vote" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/softfork" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/softfork/signal" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/config" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/event" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/indexer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/address" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/block" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/consensus" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/consultation" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/payment_request" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/proposal" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/vote" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/softfork" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/softfork/signal" "github.com/NavExplorer/subscriber" "github.com/sarulabs/dingo/v3" log "github.com/sirupsen/logrus" diff --git a/internal/daemon/daemon.go b/internal/daemon/daemon.go index 0d8109e..026ebf0 100644 --- a/internal/daemon/daemon.go +++ b/internal/daemon/daemon.go @@ -1,10 +1,10 @@ package daemon import ( - "github.com/NavExplorer/navexplorer-indexer-go/generated/dic" - "github.com/NavExplorer/navexplorer-indexer-go/internal/config" - "github.com/NavExplorer/navexplorer-indexer-go/internal/indexer" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/block" + "github.com/NavExplorer/navexplorer-indexer-go/v2/generated/dic" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/config" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/indexer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/block" "github.com/getsentry/raven-go" "github.com/sarulabs/dingo/v3" log "github.com/sirupsen/logrus" diff --git a/internal/elastic_cache/Indices.go b/internal/elastic_cache/Indices.go index a1b6bdf..0d3e3aa 100644 --- a/internal/elastic_cache/Indices.go +++ b/internal/elastic_cache/Indices.go @@ -2,7 +2,7 @@ package elastic_cache import ( "fmt" - "github.com/NavExplorer/navexplorer-indexer-go/internal/config" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/config" ) type Indices string diff --git a/internal/elastic_cache/elastic_cache.go b/internal/elastic_cache/elastic_cache.go index a90507a..eac392f 100644 --- a/internal/elastic_cache/elastic_cache.go +++ b/internal/elastic_cache/elastic_cache.go @@ -4,8 +4,8 @@ import ( "context" "errors" "fmt" - "github.com/NavExplorer/navexplorer-indexer-go/internal/config" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/config" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" "github.com/olivere/elastic/v7" "github.com/patrickmn/go-cache" diff --git a/internal/indexer/indexer.go b/internal/indexer/indexer.go index 7db69ee..aa4a59d 100644 --- a/internal/indexer/indexer.go +++ b/internal/indexer/indexer.go @@ -2,14 +2,14 @@ package indexer import ( "fmt" - "github.com/NavExplorer/navexplorer-indexer-go/internal/config" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/internal/event" - "github.com/NavExplorer/navexplorer-indexer-go/internal/indexer/IndexOption" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/address" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/block" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/softfork" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/config" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/event" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/indexer/IndexOption" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/address" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/block" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/softfork" "github.com/getsentry/raven-go" log "github.com/sirupsen/logrus" "sync" diff --git a/internal/indexer/rewinder.go b/internal/indexer/rewinder.go index 0423af4..e7e3cc4 100644 --- a/internal/indexer/rewinder.go +++ b/internal/indexer/rewinder.go @@ -1,11 +1,11 @@ package indexer import ( - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/address" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/block" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/softfork" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/address" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/block" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/softfork" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/address/addresses.go b/internal/service/address/addresses.go index a518dc6..7311534 100644 --- a/internal/service/address/addresses.go +++ b/internal/service/address/addresses.go @@ -1,6 +1,6 @@ package address -import "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" +import "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" var Addresses = make(addresses) diff --git a/internal/service/address/factory.go b/internal/service/address/factory.go index c6326b0..366dc51 100644 --- a/internal/service/address/factory.go +++ b/internal/service/address/factory.go @@ -2,7 +2,7 @@ package address import ( "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "time" ) diff --git a/internal/service/address/indexer.go b/internal/service/address/indexer.go index 3ba45bf..9007245 100644 --- a/internal/service/address/indexer.go +++ b/internal/service/address/indexer.go @@ -2,8 +2,8 @@ package address import ( "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/address/repository.go b/internal/service/address/repository.go index a5c893b..fefaa25 100644 --- a/internal/service/address/repository.go +++ b/internal/service/address/repository.go @@ -4,8 +4,8 @@ import ( "context" "encoding/json" "errors" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" "github.com/olivere/elastic/v7" log "github.com/sirupsen/logrus" diff --git a/internal/service/address/rewinder.go b/internal/service/address/rewinder.go index e47a7e2..d78bde9 100644 --- a/internal/service/address/rewinder.go +++ b/internal/service/address/rewinder.go @@ -2,8 +2,8 @@ package address import ( "context" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/block/block.go b/internal/service/block/block.go index d5d565d..a8f0e9a 100644 --- a/internal/service/block/block.go +++ b/internal/service/block/block.go @@ -1,5 +1,5 @@ package block -import "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" +import "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" var LastBlockIndexed *explorer.Block diff --git a/internal/service/block/factory.go b/internal/service/block/factory.go index a9bd75f..60069f2 100644 --- a/internal/service/block/factory.go +++ b/internal/service/block/factory.go @@ -3,7 +3,7 @@ package block import ( "fmt" "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "time" ) diff --git a/internal/service/block/indexer.go b/internal/service/block/indexer.go index 3155c16..c1b6a6b 100644 --- a/internal/service/block/indexer.go +++ b/internal/service/block/indexer.go @@ -2,10 +2,10 @@ package block import ( "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/internal/indexer/IndexOption" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/consensus" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/indexer/IndexOption" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/consensus" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" log "github.com/sirupsen/logrus" "strconv" diff --git a/internal/service/block/orphan.go b/internal/service/block/orphan.go index e55e486..c5bfedf 100644 --- a/internal/service/block/orphan.go +++ b/internal/service/block/orphan.go @@ -2,7 +2,7 @@ package block import ( "errors" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" "time" ) diff --git a/internal/service/block/repository.go b/internal/service/block/repository.go index b811e39..eb2c8e8 100644 --- a/internal/service/block/repository.go +++ b/internal/service/block/repository.go @@ -3,8 +3,8 @@ package block import ( "context" "encoding/json" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" "github.com/olivere/elastic/v7" log "github.com/sirupsen/logrus" diff --git a/internal/service/block/rewinder.go b/internal/service/block/rewinder.go index ed56796..0a338e0 100644 --- a/internal/service/block/rewinder.go +++ b/internal/service/block/rewinder.go @@ -1,7 +1,7 @@ package block import ( - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/block/service.go b/internal/service/block/service.go index 0a2d944..1664a9f 100644 --- a/internal/service/block/service.go +++ b/internal/service/block/service.go @@ -2,7 +2,7 @@ package block import ( "errors" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" ) type Service struct { diff --git a/internal/service/dao/consensus/consensus.go b/internal/service/dao/consensus/consensus.go index 0743bd6..9a511e3 100644 --- a/internal/service/dao/consensus/consensus.go +++ b/internal/service/dao/consensus/consensus.go @@ -1,7 +1,7 @@ package consensus import ( - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "log" ) diff --git a/internal/service/dao/consensus/indexer.go b/internal/service/dao/consensus/indexer.go index 8a50b75..f96c7cb 100644 --- a/internal/service/dao/consensus/indexer.go +++ b/internal/service/dao/consensus/indexer.go @@ -3,8 +3,8 @@ package consensus import ( "context" "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/dao/consensus/repository.go b/internal/service/dao/consensus/repository.go index 48dde54..7a89ba2 100644 --- a/internal/service/dao/consensus/repository.go +++ b/internal/service/dao/consensus/repository.go @@ -3,8 +3,8 @@ package consensus import ( "context" "encoding/json" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" "github.com/olivere/elastic/v7" ) diff --git a/internal/service/dao/consensus/rewinder.go b/internal/service/dao/consensus/rewinder.go index 0b95f91..4a66048 100644 --- a/internal/service/dao/consensus/rewinder.go +++ b/internal/service/dao/consensus/rewinder.go @@ -3,8 +3,8 @@ package consensus import ( "context" "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" "strconv" ) diff --git a/internal/service/dao/consensus/service.go b/internal/service/dao/consensus/service.go index 48c6873..f787f2a 100644 --- a/internal/service/dao/consensus/service.go +++ b/internal/service/dao/consensus/service.go @@ -3,9 +3,9 @@ package consensus import ( "context" "encoding/json" - "github.com/NavExplorer/navexplorer-indexer-go/internal/config" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/config" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/dao/consultation/consultations.go b/internal/service/dao/consultation/consultations.go index fe0a9ac..9459bda 100644 --- a/internal/service/dao/consultation/consultations.go +++ b/internal/service/dao/consultation/consultations.go @@ -1,7 +1,7 @@ package consultation import ( - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" ) var Consultations consultations diff --git a/internal/service/dao/consultation/factory.go b/internal/service/dao/consultation/factory.go index 0eea397..a7fe151 100644 --- a/internal/service/dao/consultation/factory.go +++ b/internal/service/dao/consultation/factory.go @@ -2,7 +2,7 @@ package consultation import ( "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" "reflect" ) diff --git a/internal/service/dao/consultation/indexer.go b/internal/service/dao/consultation/indexer.go index 1b2bf2a..d3459fa 100644 --- a/internal/service/dao/consultation/indexer.go +++ b/internal/service/dao/consultation/indexer.go @@ -3,10 +3,10 @@ package consultation import ( "context" "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/block" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/consensus" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/block" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/consensus" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" log "github.com/sirupsen/logrus" "strconv" diff --git a/internal/service/dao/consultation/repository.go b/internal/service/dao/consultation/repository.go index accb9f9..35547d2 100644 --- a/internal/service/dao/consultation/repository.go +++ b/internal/service/dao/consultation/repository.go @@ -3,8 +3,8 @@ package consultation import ( "context" "encoding/json" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" "github.com/olivere/elastic/v7" log "github.com/sirupsen/logrus" diff --git a/internal/service/dao/consultation/service.go b/internal/service/dao/consultation/service.go index 05ec74b..7c01305 100644 --- a/internal/service/dao/consultation/service.go +++ b/internal/service/dao/consultation/service.go @@ -1,8 +1,8 @@ package consultation import ( - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/consensus" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/consensus" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" log "github.com/sirupsen/logrus" "math" diff --git a/internal/service/dao/indexer.go b/internal/service/dao/indexer.go index 18ec60e..672a780 100644 --- a/internal/service/dao/indexer.go +++ b/internal/service/dao/indexer.go @@ -2,12 +2,12 @@ package dao import ( "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/consensus" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/consultation" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/payment_request" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/proposal" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/vote" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/consensus" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/consultation" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/payment_request" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/proposal" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/vote" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" "sync" ) diff --git a/internal/service/dao/payment_request/factory.go b/internal/service/dao/payment_request/factory.go index 90737b6..cfb2606 100644 --- a/internal/service/dao/payment_request/factory.go +++ b/internal/service/dao/payment_request/factory.go @@ -2,7 +2,7 @@ package payment_request import ( "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" "strconv" ) diff --git a/internal/service/dao/payment_request/indexer.go b/internal/service/dao/payment_request/indexer.go index 526e6c4..905aa9b 100644 --- a/internal/service/dao/payment_request/indexer.go +++ b/internal/service/dao/payment_request/indexer.go @@ -3,8 +3,8 @@ package payment_request import ( "context" "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/dao/payment_request/paymentRequests.go b/internal/service/dao/payment_request/paymentRequests.go index adbf64d..6c7568d 100644 --- a/internal/service/dao/payment_request/paymentRequests.go +++ b/internal/service/dao/payment_request/paymentRequests.go @@ -1,6 +1,6 @@ package payment_request -import "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" +import "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" var PaymentRequests paymentRequests diff --git a/internal/service/dao/payment_request/repository.go b/internal/service/dao/payment_request/repository.go index d69e831..38aa03a 100644 --- a/internal/service/dao/payment_request/repository.go +++ b/internal/service/dao/payment_request/repository.go @@ -3,8 +3,8 @@ package payment_request import ( "context" "encoding/json" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" "github.com/olivere/elastic/v7" log "github.com/sirupsen/logrus" diff --git a/internal/service/dao/payment_request/service.go b/internal/service/dao/payment_request/service.go index 65ee989..1175153 100644 --- a/internal/service/dao/payment_request/service.go +++ b/internal/service/dao/payment_request/service.go @@ -1,7 +1,7 @@ package payment_request import ( - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/dao/proposal/factory.go b/internal/service/dao/proposal/factory.go index 88a052c..2679ed2 100644 --- a/internal/service/dao/proposal/factory.go +++ b/internal/service/dao/proposal/factory.go @@ -2,7 +2,7 @@ package proposal import ( "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" "strconv" ) diff --git a/internal/service/dao/proposal/indexer.go b/internal/service/dao/proposal/indexer.go index 5eed9cb..23d2632 100644 --- a/internal/service/dao/proposal/indexer.go +++ b/internal/service/dao/proposal/indexer.go @@ -3,8 +3,8 @@ package proposal import ( "context" "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/dao/proposal/proposals.go b/internal/service/dao/proposal/proposals.go index 5802082..1f38baf 100644 --- a/internal/service/dao/proposal/proposals.go +++ b/internal/service/dao/proposal/proposals.go @@ -1,7 +1,7 @@ package proposal import ( - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" ) var Proposals proposals diff --git a/internal/service/dao/proposal/repository.go b/internal/service/dao/proposal/repository.go index 69a1aeb..23ce0e1 100644 --- a/internal/service/dao/proposal/repository.go +++ b/internal/service/dao/proposal/repository.go @@ -3,8 +3,8 @@ package proposal import ( "context" "encoding/json" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" "github.com/olivere/elastic/v7" log "github.com/sirupsen/logrus" diff --git a/internal/service/dao/proposal/service.go b/internal/service/dao/proposal/service.go index cbb5f74..2808793 100644 --- a/internal/service/dao/proposal/service.go +++ b/internal/service/dao/proposal/service.go @@ -1,7 +1,7 @@ package proposal import ( - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/getsentry/raven-go" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/dao/rewinder.go b/internal/service/dao/rewinder.go index eacd8e0..f574ad0 100644 --- a/internal/service/dao/rewinder.go +++ b/internal/service/dao/rewinder.go @@ -1,9 +1,9 @@ package dao import ( - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/consensus" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/dao/consultation" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/consensus" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/dao/consultation" "github.com/getsentry/raven-go" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/dao/vote/factory.go b/internal/service/dao/vote/factory.go index 2712ce0..8bb3b1b 100644 --- a/internal/service/dao/vote/factory.go +++ b/internal/service/dao/vote/factory.go @@ -2,7 +2,7 @@ package vote import ( "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/dao/vote/indexer.go b/internal/service/dao/vote/indexer.go index e9df8d4..1eeb294 100644 --- a/internal/service/dao/vote/indexer.go +++ b/internal/service/dao/vote/indexer.go @@ -2,8 +2,8 @@ package vote import ( "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/softfork/indexer.go b/internal/service/softfork/indexer.go index 401e35a..9391aac 100644 --- a/internal/service/softfork/indexer.go +++ b/internal/service/softfork/indexer.go @@ -1,9 +1,9 @@ package softfork import ( - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/softfork/signal" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/softfork/signal" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/softfork/repository.go b/internal/service/softfork/repository.go index d9f1e9c..49eeb1a 100644 --- a/internal/service/softfork/repository.go +++ b/internal/service/softfork/repository.go @@ -4,8 +4,8 @@ import ( "context" "encoding/json" "errors" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/olivere/elastic/v7" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/softfork/rewinder.go b/internal/service/softfork/rewinder.go index 27a44be..10feede 100644 --- a/internal/service/softfork/rewinder.go +++ b/internal/service/softfork/rewinder.go @@ -2,10 +2,10 @@ package softfork import ( "context" - "github.com/NavExplorer/navexplorer-indexer-go/internal/config" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/internal/service/softfork/signal" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/config" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/service/softfork/signal" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/olivere/elastic/v7" log "github.com/sirupsen/logrus" ) diff --git a/internal/service/softfork/service.go b/internal/service/softfork/service.go index 1a047df..783a844 100644 --- a/internal/service/softfork/service.go +++ b/internal/service/softfork/service.go @@ -3,8 +3,8 @@ package softfork import ( "context" "github.com/NavExplorer/navcoind-go" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" log "github.com/sirupsen/logrus" "time" ) diff --git a/internal/service/softfork/signal/factory.go b/internal/service/softfork/signal/factory.go index b4f0486..8eb770f 100644 --- a/internal/service/softfork/signal/factory.go +++ b/internal/service/softfork/signal/factory.go @@ -1,6 +1,6 @@ package signal -import "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" +import "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" func CreateSignal(block *explorer.Block, softForks *explorer.SoftForks) *explorer.Signal { signal := &explorer.Signal{Address: block.StakedBy, Height: block.Height} diff --git a/internal/service/softfork/signal/repository.go b/internal/service/softfork/signal/repository.go index ff4d8df..c7da4be 100644 --- a/internal/service/softfork/signal/repository.go +++ b/internal/service/softfork/signal/repository.go @@ -3,8 +3,8 @@ package signal import ( "context" "encoding/json" - "github.com/NavExplorer/navexplorer-indexer-go/internal/elastic_cache" - "github.com/NavExplorer/navexplorer-indexer-go/pkg/explorer" + "github.com/NavExplorer/navexplorer-indexer-go/v2/internal/elastic_cache" + "github.com/NavExplorer/navexplorer-indexer-go/v2/pkg/explorer" "github.com/olivere/elastic/v7" )