From b508565a789c5a19fc09a2d57dbdd2a04971dc80 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Tue, 20 Oct 2020 10:15:39 +0100 Subject: [PATCH] rename imports to asim/go-micro (#2051) --- acme/autocert/autocert.go | 4 +-- api/api.go | 4 +-- api/handler/http/http.go | 6 ++-- api/handler/http/http_test.go | 14 ++++---- api/handler/options.go | 6 ++-- api/handler/rpc/rpc.go | 26 +++++++-------- api/handler/rpc/stream.go | 10 +++--- api/http/http.go | 4 +-- api/options.go | 4 +-- api/resolver/grpc/grpc.go | 2 +- api/resolver/host/host.go | 2 +- api/resolver/options.go | 2 +- api/resolver/path/path.go | 2 +- api/router/options.go | 8 ++--- api/router/registry/registry.go | 14 ++++---- api/router/registry/registry_test.go | 2 +- api/router/router.go | 2 +- api/router/router_test.go | 24 +++++++------- auth/jwt/jwt.go | 6 ++-- auth/noop/noop.go | 2 +- auth/options.go | 2 +- broker/http/http.go | 18 +++++------ broker/http/http_test.go | 6 ++-- broker/http/options.go | 2 +- broker/memory/memory.go | 6 ++-- broker/memory/memory_test.go | 2 +- broker/options.go | 4 +-- build/golang/golang.go | 2 +- build/tar/tar.go | 2 +- cache/memory/memory.go | 4 +-- client/backoff.go | 2 +- client/backoff_test.go | 2 +- client/client.go | 2 +- client/grpc/README.md | 4 +-- client/grpc/codec.go | 4 +-- client/grpc/error.go | 2 +- client/grpc/grpc.go | 10 +++--- client/grpc/grpc_test.go | 12 +++---- client/grpc/message.go | 2 +- client/grpc/options.go | 2 +- client/grpc/request.go | 4 +-- client/grpc/response.go | 4 +-- client/grpc/stream.go | 2 +- client/lookup.go | 4 +-- client/mucp/common_test.go | 2 +- client/mucp/mucp.go | 18 +++++------ client/mucp/mucp_codec.go | 20 ++++++------ client/mucp/mucp_message.go | 2 +- client/mucp/mucp_request.go | 4 +-- client/mucp/mucp_request_test.go | 2 +- client/mucp/mucp_response.go | 4 +-- client/mucp/mucp_stream.go | 4 +-- client/mucp/mucp_test.go | 12 +++---- client/mucp/options_test.go | 4 +-- client/options.go | 20 ++++++------ client/retry.go | 2 +- codec/bytes/bytes.go | 2 +- codec/bytes/marshaler.go | 2 +- codec/codec_test.go | 16 +++++----- codec/grpc/grpc.go | 2 +- codec/json/json.go | 2 +- codec/jsonrpc/client.go | 2 +- codec/jsonrpc/jsonrpc.go | 2 +- codec/jsonrpc/server.go | 2 +- codec/proto/marshaler.go | 2 +- codec/proto/proto.go | 2 +- codec/protorpc/protorpc.go | 2 +- codec/text/text.go | 2 +- config/env/env.go | 2 +- config/secrets/secrets.go | 2 +- config/store/store.go | 4 +-- config/store/store_test.go | 6 ++-- debug/log/kubernetes/kubernetes.go | 6 ++-- debug/log/kubernetes/kubernetes_test.go | 2 +- debug/log/kubernetes/stream.go | 2 +- debug/log/memory/memory.go | 4 +-- debug/log/memory/memory_test.go | 2 +- debug/log/memory/stream.go | 2 +- debug/log/noop/noop.go | 2 +- debug/profile/http/http.go | 2 +- debug/profile/pprof/pprof.go | 2 +- debug/stats/memory/memory.go | 4 +-- debug/trace/memory/memory.go | 4 +-- debug/trace/trace.go | 2 +- events/memory/memory.go | 8 ++--- events/options.go | 2 +- events/test/stream_test.go | 4 +-- go.mod | 2 +- model/model.go | 6 ++-- model/mud/entity.go | 4 +-- model/mud/mud.go | 10 +++--- network/mucp/mucp.go | 32 +++++++++---------- network/mucp/node.go | 4 +-- network/mucp/node_test.go | 4 +-- network/mucp/proto/network.pb.go | 2 +- network/mucp/proto/network.pb.micro.go | 2 +- network/network.go | 4 +-- network/options.go | 12 +++---- network/resolver/dns/dns.go | 2 +- network/resolver/dnssrv/dnssrv.go | 2 +- network/resolver/http/http.go | 2 +- network/resolver/noop/noop.go | 2 +- network/resolver/registry/registry.go | 6 ++-- network/resolver/static/static.go | 2 +- network/transport/grpc/grpc.go | 10 +++--- network/transport/grpc/grpc_test.go | 2 +- network/transport/grpc/handler.go | 8 ++--- .../grpc/proto/transport.pb.micro.go | 6 ++-- network/transport/grpc/socket.go | 4 +-- network/transport/http/http.go | 10 +++--- network/transport/http/http_test.go | 2 +- network/transport/http/http_transport_test.go | 2 +- network/transport/http/options.go | 2 +- network/transport/memory/memory.go | 6 ++-- network/transport/memory/memory_test.go | 2 +- network/transport/options.go | 2 +- network/tunnel/broker/broker.go | 8 ++--- network/tunnel/mucp/crypto.go | 2 +- network/tunnel/mucp/link.go | 4 +-- network/tunnel/mucp/listener.go | 4 +-- network/tunnel/mucp/mucp.go | 6 ++-- network/tunnel/mucp/mucp_test.go | 4 +-- network/tunnel/mucp/session.go | 6 ++-- network/tunnel/options.go | 4 +-- network/tunnel/transport/listener.go | 4 +-- network/tunnel/transport/transport.go | 6 ++-- network/tunnel/tunnel.go | 2 +- proxy/grpc/grpc.go | 16 +++++----- proxy/http/http.go | 6 ++-- proxy/http/http_test.go | 14 ++++---- proxy/mucp/mucp.go | 26 +++++++-------- proxy/options.go | 4 +-- proxy/proxy.go | 2 +- registry/cache/README.md | 4 +-- registry/cache/cache.go | 6 ++-- registry/mdns/mdns.go | 6 ++-- registry/mdns/mdns_test.go | 2 +- registry/mdns/options.go | 2 +- registry/memory/memory.go | 4 +-- registry/memory/memory_test.go | 2 +- registry/memory/options.go | 2 +- registry/memory/util.go | 2 +- registry/memory/watcher.go | 2 +- registry/memory/watcher_test.go | 2 +- registry/noop/noop.go | 2 +- router/dns/dns.go | 2 +- router/kubernetes/kubernetes.go | 2 +- router/mdns/mdns.go | 4 +-- router/options.go | 4 +-- router/registry/registry.go | 6 ++-- router/registry/registry_test.go | 4 +-- router/registry/table.go | 4 +-- router/registry/table_test.go | 2 +- router/registry/watcher.go | 2 +- router/static/static.go | 2 +- runtime/kubernetes/kubernetes.go | 10 +++--- runtime/kubernetes/kubernetes_test.go | 2 +- runtime/kubernetes/logs.go | 10 +++--- runtime/kubernetes/namespace.go | 6 ++-- runtime/kubernetes/networkpolicy.go | 6 ++-- runtime/kubernetes/util.go | 8 ++--- runtime/local/local.go | 4 +-- runtime/local/process/os/os.go | 2 +- runtime/local/process/os/os_windows.go | 2 +- runtime/local/process/os/process.go | 2 +- runtime/local/process/process.go | 2 +- runtime/local/service.go | 10 +++--- runtime/local/source/go/golang.go | 2 +- runtime/options.go | 2 +- selector/random/random.go | 2 +- selector/random/random_test.go | 2 +- selector/roundrobin/roundrobin.go | 2 +- selector/roundrobin/roundrobin_test.go | 2 +- server/grpc/README.md | 4 +-- server/grpc/codec.go | 4 +-- server/grpc/context.go | 2 +- server/grpc/error.go | 2 +- server/grpc/extractor.go | 2 +- server/grpc/extractor_test.go | 2 +- server/grpc/grpc.go | 22 ++++++------- server/grpc/grpc_test.go | 24 +++++++------- server/grpc/handler.go | 4 +-- server/grpc/options.go | 8 ++--- server/grpc/proto/test.pb.micro.go | 6 ++-- server/grpc/request.go | 4 +-- server/grpc/response.go | 2 +- server/grpc/server.go | 4 +-- server/grpc/stream.go | 2 +- server/grpc/subscriber.go | 12 +++---- server/mock/mock.go | 2 +- server/mock/mock_handler.go | 4 +-- server/mock/mock_subscriber.go | 4 +-- server/mock/mock_test.go | 2 +- server/mucp/extractor.go | 2 +- server/mucp/extractor_test.go | 2 +- server/mucp/mucp.go | 2 +- server/mucp/options.go | 10 +++--- server/mucp/rpc_codec.go | 16 +++++----- server/mucp/rpc_codec_test.go | 4 +-- server/mucp/rpc_handler.go | 4 +-- server/mucp/rpc_request.go | 6 ++-- server/mucp/rpc_response.go | 4 +-- server/mucp/rpc_router.go | 6 ++-- server/mucp/rpc_server.go | 24 +++++++------- server/mucp/rpc_stream.go | 4 +-- server/mucp/rpc_stream_test.go | 4 +-- server/mucp/subscriber.go | 8 ++--- server/options.go | 18 +++++------ server/server.go | 4 +-- service/grpc/grpc.go | 12 +++---- service/grpc/grpc_test.go | 8 ++--- service/grpc/options.go | 6 ++-- service/grpc/proto/test.pb.micro.go | 6 ++-- service/mucp/mucp.go | 12 +++---- service/options.go | 18 +++++------ service/service.go | 6 ++-- store/cache/cache.go | 4 +-- store/cache/cache_test.go | 4 +-- store/memory/memory.go | 2 +- store/test/store_test.go | 6 ++-- sync/memory/memory.go | 2 +- util/auth/auth.go | 4 +-- util/client/client.go | 2 +- util/client/client_test.go | 22 ++++++------- util/ctx/ctx.go | 2 +- util/ctx/ctx_test.go | 2 +- util/file/client.go | 4 +-- util/file/handler.go | 8 ++--- util/file/proto/file.pb.micro.go | 6 ++-- util/http/http.go | 6 ++-- util/http/http_test.go | 8 ++--- util/http/options.go | 2 +- util/http/roundtripper.go | 2 +- util/io/io.go | 2 +- util/kubernetes/api/request.go | 2 +- util/kubernetes/client/client.go | 6 ++-- util/kubernetes/client/util_test.go | 2 +- util/kubernetes/client/watch.go | 2 +- util/log/README.md | 6 ++-- util/log/log.go | 6 ++-- util/mdns/server.go | 2 +- util/plugin/template.go | 2 +- util/pool/default.go | 2 +- util/pool/default_test.go | 4 +-- util/pool/options.go | 2 +- util/pool/pool.go | 2 +- util/registry/util.go | 2 +- util/registry/util_test.go | 2 +- util/router/parse.go | 2 +- util/router/parse_test.go | 2 +- util/router/router.go | 4 +-- util/router/runtime.go | 2 +- util/scope/scope.go | 2 +- util/socket/socket.go | 2 +- util/stream/stream.go | 10 +++--- util/sync/manager.go | 2 +- util/sync/options.go | 2 +- util/sync/sync.go | 2 +- util/test/test.go | 2 +- util/token/basic/basic.go | 6 ++-- util/token/basic/basic_test.go | 6 ++-- util/token/jwt/jwt.go | 4 +-- util/token/jwt/jwt_test.go | 4 +-- util/token/options.go | 2 +- util/token/token.go | 2 +- 265 files changed, 673 insertions(+), 673 deletions(-) diff --git a/acme/autocert/autocert.go b/acme/autocert/autocert.go index e2ed08c9..6fb38443 100644 --- a/acme/autocert/autocert.go +++ b/acme/autocert/autocert.go @@ -7,8 +7,8 @@ import ( "net" "os" - "github.com/micro/go-micro/v3/acme" - "github.com/micro/go-micro/v3/logger" + "github.com/asim/go-micro/v3/acme" + "github.com/asim/go-micro/v3/logger" "golang.org/x/crypto/acme/autocert" ) diff --git a/api/api.go b/api/api.go index 14288158..fd85115f 100644 --- a/api/api.go +++ b/api/api.go @@ -6,8 +6,8 @@ import ( "regexp" "strings" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/server" ) // Gateway is an api gateway interface diff --git a/api/handler/http/http.go b/api/handler/http/http.go index 7de8b518..51027394 100644 --- a/api/handler/http/http.go +++ b/api/handler/http/http.go @@ -9,9 +9,9 @@ import ( "net/http/httputil" "net/url" - "github.com/micro/go-micro/v3/api" - "github.com/micro/go-micro/v3/api/handler" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/api" + "github.com/asim/go-micro/v3/api/handler" + "github.com/asim/go-micro/v3/registry" ) const ( diff --git a/api/handler/http/http_test.go b/api/handler/http/http_test.go index 6f069904..dcb7dcd9 100644 --- a/api/handler/http/http_test.go +++ b/api/handler/http/http_test.go @@ -6,13 +6,13 @@ import ( "net/http/httptest" "testing" - "github.com/micro/go-micro/v3/api/handler" - "github.com/micro/go-micro/v3/api/resolver" - rpath "github.com/micro/go-micro/v3/api/resolver/path" - "github.com/micro/go-micro/v3/api/router" - regRouter "github.com/micro/go-micro/v3/api/router/registry" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/memory" + "github.com/asim/go-micro/v3/api/handler" + "github.com/asim/go-micro/v3/api/resolver" + rpath "github.com/asim/go-micro/v3/api/resolver/path" + "github.com/asim/go-micro/v3/api/router" + regRouter "github.com/asim/go-micro/v3/api/router/registry" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/memory" ) func testHttp(t *testing.T, path, service, ns string) { diff --git a/api/handler/options.go b/api/handler/options.go index 8e2d058a..5e9f4bc8 100644 --- a/api/handler/options.go +++ b/api/handler/options.go @@ -1,9 +1,9 @@ package handler import ( - "github.com/micro/go-micro/v3/api/router" - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/client/grpc" + "github.com/asim/go-micro/v3/api/router" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/client/grpc" ) var ( diff --git a/api/handler/rpc/rpc.go b/api/handler/rpc/rpc.go index a0dbcfb5..04080d68 100644 --- a/api/handler/rpc/rpc.go +++ b/api/handler/rpc/rpc.go @@ -8,20 +8,20 @@ import ( "strconv" "strings" + "github.com/asim/go-micro/v3/api" + "github.com/asim/go-micro/v3/api/handler" + "github.com/asim/go-micro/v3/api/handler/rpc/proto" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec/jsonrpc" + "github.com/asim/go-micro/v3/codec/protorpc" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/util/ctx" + "github.com/asim/go-micro/v3/util/qson" + "github.com/asim/go-micro/v3/util/router" jsonpatch "github.com/evanphx/json-patch/v5" - "github.com/micro/go-micro/v3/api" - "github.com/micro/go-micro/v3/api/handler" - "github.com/micro/go-micro/v3/api/handler/rpc/proto" - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/codec/jsonrpc" - "github.com/micro/go-micro/v3/codec/protorpc" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/metadata" - "github.com/micro/go-micro/v3/util/ctx" - "github.com/micro/go-micro/v3/util/qson" - "github.com/micro/go-micro/v3/util/router" "github.com/oxtoacart/bpool" ) diff --git a/api/handler/rpc/stream.go b/api/handler/rpc/stream.go index 25d6789f..4f087458 100644 --- a/api/handler/rpc/stream.go +++ b/api/handler/rpc/stream.go @@ -9,14 +9,14 @@ import ( "strings" "time" + "github.com/asim/go-micro/v3/api" + "github.com/asim/go-micro/v3/client" + raw "github.com/asim/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/util/router" "github.com/gobwas/httphead" "github.com/gobwas/ws" "github.com/gobwas/ws/wsutil" - "github.com/micro/go-micro/v3/api" - "github.com/micro/go-micro/v3/client" - raw "github.com/micro/go-micro/v3/codec/bytes" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/util/router" ) // serveWebsocket will stream rpc back over websockets assuming json diff --git a/api/http/http.go b/api/http/http.go index 6eb35592..3b413a07 100644 --- a/api/http/http.go +++ b/api/http/http.go @@ -7,8 +7,8 @@ import ( "net/http" "sync" - "github.com/micro/go-micro/v3/api" - "github.com/micro/go-micro/v3/logger" + "github.com/asim/go-micro/v3/api" + "github.com/asim/go-micro/v3/logger" ) type httpServer struct { diff --git a/api/options.go b/api/options.go index 47eaa457..01fa660d 100644 --- a/api/options.go +++ b/api/options.go @@ -3,8 +3,8 @@ package api import ( "crypto/tls" - "github.com/micro/go-micro/v3/acme" - "github.com/micro/go-micro/v3/api/resolver" + "github.com/asim/go-micro/v3/acme" + "github.com/asim/go-micro/v3/api/resolver" ) type Options struct { diff --git a/api/resolver/grpc/grpc.go b/api/resolver/grpc/grpc.go index 61d3ae9e..e767baf3 100644 --- a/api/resolver/grpc/grpc.go +++ b/api/resolver/grpc/grpc.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "github.com/micro/go-micro/v3/api/resolver" + "github.com/asim/go-micro/v3/api/resolver" ) type Resolver struct { diff --git a/api/resolver/host/host.go b/api/resolver/host/host.go index 501f35f8..43476576 100644 --- a/api/resolver/host/host.go +++ b/api/resolver/host/host.go @@ -4,7 +4,7 @@ package host import ( "net/http" - "github.com/micro/go-micro/v3/api/resolver" + "github.com/asim/go-micro/v3/api/resolver" ) type Resolver struct { diff --git a/api/resolver/options.go b/api/resolver/options.go index 68a8774d..5328f0c3 100644 --- a/api/resolver/options.go +++ b/api/resolver/options.go @@ -1,7 +1,7 @@ package resolver import ( - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) type Options struct { diff --git a/api/resolver/path/path.go b/api/resolver/path/path.go index b91fefbb..b122a994 100644 --- a/api/resolver/path/path.go +++ b/api/resolver/path/path.go @@ -5,7 +5,7 @@ import ( "net/http" "strings" - "github.com/micro/go-micro/v3/api/resolver" + "github.com/asim/go-micro/v3/api/resolver" ) type Resolver struct { diff --git a/api/router/options.go b/api/router/options.go index d8955897..2bda7ffb 100644 --- a/api/router/options.go +++ b/api/router/options.go @@ -1,10 +1,10 @@ package router import ( - "github.com/micro/go-micro/v3/api/resolver" - "github.com/micro/go-micro/v3/api/resolver/path" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/mdns" + "github.com/asim/go-micro/v3/api/resolver" + "github.com/asim/go-micro/v3/api/resolver/path" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/mdns" ) type Options struct { diff --git a/api/router/registry/registry.go b/api/router/registry/registry.go index 63885e1e..1ea71781 100644 --- a/api/router/registry/registry.go +++ b/api/router/registry/registry.go @@ -10,13 +10,13 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/api" - "github.com/micro/go-micro/v3/api/router" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/metadata" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/cache" - util "github.com/micro/go-micro/v3/util/router" + "github.com/asim/go-micro/v3/api" + "github.com/asim/go-micro/v3/api/router" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/cache" + util "github.com/asim/go-micro/v3/util/router" ) // endpoint struct, that holds compiled pcre diff --git a/api/router/registry/registry_test.go b/api/router/registry/registry_test.go index a1ae14d1..8221b83a 100644 --- a/api/router/registry/registry_test.go +++ b/api/router/registry/registry_test.go @@ -3,7 +3,7 @@ package registry import ( "testing" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" "github.com/stretchr/testify/assert" ) diff --git a/api/router/router.go b/api/router/router.go index cf119512..10d9c7c1 100644 --- a/api/router/router.go +++ b/api/router/router.go @@ -4,7 +4,7 @@ package router import ( "net/http" - "github.com/micro/go-micro/v3/api" + "github.com/asim/go-micro/v3/api" ) // Router is used to determine an endpoint for a request diff --git a/api/router/router_test.go b/api/router/router_test.go index 0d589852..53db4ec3 100644 --- a/api/router/router_test.go +++ b/api/router/router_test.go @@ -9,18 +9,18 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/api/handler" - "github.com/micro/go-micro/v3/api/handler/rpc" - "github.com/micro/go-micro/v3/api/router" - rregistry "github.com/micro/go-micro/v3/api/router/registry" - "github.com/micro/go-micro/v3/client" - gcli "github.com/micro/go-micro/v3/client/grpc" - rmemory "github.com/micro/go-micro/v3/registry/memory" - rt "github.com/micro/go-micro/v3/router" - regRouter "github.com/micro/go-micro/v3/router/registry" - "github.com/micro/go-micro/v3/server" - gsrv "github.com/micro/go-micro/v3/server/grpc" - pb "github.com/micro/go-micro/v3/server/grpc/proto" + "github.com/asim/go-micro/v3/api/handler" + "github.com/asim/go-micro/v3/api/handler/rpc" + "github.com/asim/go-micro/v3/api/router" + rregistry "github.com/asim/go-micro/v3/api/router/registry" + "github.com/asim/go-micro/v3/client" + gcli "github.com/asim/go-micro/v3/client/grpc" + rmemory "github.com/asim/go-micro/v3/registry/memory" + rt "github.com/asim/go-micro/v3/router" + regRouter "github.com/asim/go-micro/v3/router/registry" + "github.com/asim/go-micro/v3/server" + gsrv "github.com/asim/go-micro/v3/server/grpc" + pb "github.com/asim/go-micro/v3/server/grpc/proto" ) // server is used to implement helloworld.GreeterServer. diff --git a/auth/jwt/jwt.go b/auth/jwt/jwt.go index f898f699..dc35858d 100644 --- a/auth/jwt/jwt.go +++ b/auth/jwt/jwt.go @@ -5,9 +5,9 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/auth" - "github.com/micro/go-micro/v3/util/token" - "github.com/micro/go-micro/v3/util/token/jwt" + "github.com/asim/go-micro/v3/auth" + "github.com/asim/go-micro/v3/util/token" + "github.com/asim/go-micro/v3/util/token/jwt" ) // NewAuth returns a new instance of the Auth service diff --git a/auth/noop/noop.go b/auth/noop/noop.go index 62d5a79d..1ac4edf4 100644 --- a/auth/noop/noop.go +++ b/auth/noop/noop.go @@ -1,8 +1,8 @@ package noop import ( + "github.com/asim/go-micro/v3/auth" "github.com/google/uuid" - "github.com/micro/go-micro/v3/auth" ) func NewAuth(opts ...auth.Option) auth.Auth { diff --git a/auth/options.go b/auth/options.go index ccb049fe..f77036bf 100644 --- a/auth/options.go +++ b/auth/options.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/micro/go-micro/v3/store" + "github.com/asim/go-micro/v3/store" ) func NewOptions(opts ...Option) Options { diff --git a/broker/http/http.go b/broker/http/http.go index 052e8fbe..4bc1c483 100644 --- a/broker/http/http.go +++ b/broker/http/http.go @@ -17,16 +17,16 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/codec/json" + merr "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/cache" + "github.com/asim/go-micro/v3/registry/mdns" + maddr "github.com/asim/go-micro/v3/util/addr" + mnet "github.com/asim/go-micro/v3/util/net" + mls "github.com/asim/go-micro/v3/util/tls" "github.com/google/uuid" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/codec/json" - merr "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/cache" - "github.com/micro/go-micro/v3/registry/mdns" - maddr "github.com/micro/go-micro/v3/util/addr" - mnet "github.com/micro/go-micro/v3/util/net" - mls "github.com/micro/go-micro/v3/util/tls" "golang.org/x/net/http2" ) diff --git a/broker/http/http_test.go b/broker/http/http_test.go index ea43e1f5..7fb16e75 100644 --- a/broker/http/http_test.go +++ b/broker/http/http_test.go @@ -5,10 +5,10 @@ import ( "testing" "time" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/memory" "github.com/google/uuid" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/memory" ) var ( diff --git a/broker/http/options.go b/broker/http/options.go index 89a10f6f..984e5e1d 100644 --- a/broker/http/options.go +++ b/broker/http/options.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "github.com/micro/go-micro/v3/broker" + "github.com/asim/go-micro/v3/broker" ) // Handle registers the handler for the given pattern. diff --git a/broker/memory/memory.go b/broker/memory/memory.go index 8d90e933..f3d69d1b 100644 --- a/broker/memory/memory.go +++ b/broker/memory/memory.go @@ -8,10 +8,10 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/broker" + maddr "github.com/asim/go-micro/v3/util/addr" + mnet "github.com/asim/go-micro/v3/util/net" "github.com/google/uuid" - "github.com/micro/go-micro/v3/broker" - maddr "github.com/micro/go-micro/v3/util/addr" - mnet "github.com/micro/go-micro/v3/util/net" ) type memoryBroker struct { diff --git a/broker/memory/memory_test.go b/broker/memory/memory_test.go index d9c22c2c..7df72f6f 100644 --- a/broker/memory/memory_test.go +++ b/broker/memory/memory_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/micro/go-micro/v3/broker" + "github.com/asim/go-micro/v3/broker" ) func TestMemoryBroker(t *testing.T) { diff --git a/broker/options.go b/broker/options.go index 514ec5ab..3cce144d 100644 --- a/broker/options.go +++ b/broker/options.go @@ -4,8 +4,8 @@ import ( "context" "crypto/tls" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/registry" ) type Options struct { diff --git a/build/golang/golang.go b/build/golang/golang.go index fd7914b6..ba986dd9 100644 --- a/build/golang/golang.go +++ b/build/golang/golang.go @@ -6,7 +6,7 @@ import ( "os/exec" "path/filepath" - "github.com/micro/go-micro/v3/build" + "github.com/asim/go-micro/v3/build" ) type goBuild struct { diff --git a/build/tar/tar.go b/build/tar/tar.go index bc06a1e1..fea2e569 100644 --- a/build/tar/tar.go +++ b/build/tar/tar.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "github.com/micro/go-micro/v3/build" + "github.com/asim/go-micro/v3/build" ) type tarBuild struct{} diff --git a/cache/memory/memory.go b/cache/memory/memory.go index 5769707a..44f27f87 100644 --- a/cache/memory/memory.go +++ b/cache/memory/memory.go @@ -4,8 +4,8 @@ package memory import ( "sync" - "github.com/micro/go-micro/v3/cache" - "github.com/micro/go-micro/v3/errors" + "github.com/asim/go-micro/v3/cache" + "github.com/asim/go-micro/v3/errors" ) type memoryCache struct { diff --git a/client/backoff.go b/client/backoff.go index d20ec778..1978ee60 100644 --- a/client/backoff.go +++ b/client/backoff.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/micro/go-micro/v3/util/backoff" + "github.com/asim/go-micro/v3/util/backoff" ) type BackoffFunc func(ctx context.Context, req Request, attempts int) (time.Duration, error) diff --git a/client/backoff_test.go b/client/backoff_test.go index 37480ff8..8a1192c8 100644 --- a/client/backoff_test.go +++ b/client/backoff_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec" ) func TestBackoff(t *testing.T) { diff --git a/client/client.go b/client/client.go index 2b18f279..a18d1959 100644 --- a/client/client.go +++ b/client/client.go @@ -5,7 +5,7 @@ import ( "context" "time" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec" ) // Client is the interface used to make requests to services. diff --git a/client/grpc/README.md b/client/grpc/README.md index 87c0c90d..a29f2707 100644 --- a/client/grpc/README.md +++ b/client/grpc/README.md @@ -1,6 +1,6 @@ # GRPC Client -The grpc client is a [micro.Client](https://godoc.org/github.com/micro/go-micro/client#Client) compatible client. +The grpc client is a [micro.Client](https://godoc.org/github.com/asim/go-micro/client#Client) compatible client. ## Overview @@ -12,7 +12,7 @@ Specify the client to your micro service ```go import ( - "github.com/micro/go-micro" + "github.com/asim/go-micro" "github.com/micro/go-plugins/client/grpc" ) diff --git a/client/grpc/codec.go b/client/grpc/codec.go index c3775455..d9e33ea6 100644 --- a/client/grpc/codec.go +++ b/client/grpc/codec.go @@ -7,10 +7,10 @@ import ( b "bytes" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec/bytes" "github.com/golang/protobuf/jsonpb" "github.com/golang/protobuf/proto" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/codec/bytes" "github.com/oxtoacart/bpool" "google.golang.org/grpc" "google.golang.org/grpc/encoding" diff --git a/client/grpc/error.go b/client/grpc/error.go index 7b690b38..89d0b2a8 100644 --- a/client/grpc/error.go +++ b/client/grpc/error.go @@ -1,7 +1,7 @@ package grpc import ( - "github.com/micro/go-micro/v3/errors" + "github.com/asim/go-micro/v3/errors" "google.golang.org/grpc/status" ) diff --git a/client/grpc/grpc.go b/client/grpc/grpc.go index 838bead0..b7c85a07 100644 --- a/client/grpc/grpc.go +++ b/client/grpc/grpc.go @@ -11,11 +11,11 @@ import ( "sync/atomic" "time" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/client" - raw "github.com/micro/go-micro/v3/codec/bytes" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/client" + raw "github.com/asim/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/metadata" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/client/grpc/grpc_test.go b/client/grpc/grpc_test.go index 1b05ae83..1711d855 100644 --- a/client/grpc/grpc_test.go +++ b/client/grpc/grpc_test.go @@ -5,12 +5,12 @@ import ( "net" "testing" - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/memory" - "github.com/micro/go-micro/v3/router" - regRouter "github.com/micro/go-micro/v3/router/registry" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/memory" + "github.com/asim/go-micro/v3/router" + regRouter "github.com/asim/go-micro/v3/router/registry" pgrpc "google.golang.org/grpc" pb "google.golang.org/grpc/examples/helloworld/helloworld" ) diff --git a/client/grpc/message.go b/client/grpc/message.go index cdcc3bd0..352f7bd8 100644 --- a/client/grpc/message.go +++ b/client/grpc/message.go @@ -1,7 +1,7 @@ package grpc import ( - "github.com/micro/go-micro/v3/client" + "github.com/asim/go-micro/v3/client" ) type grpcEvent struct { diff --git a/client/grpc/options.go b/client/grpc/options.go index 220f7583..c576270e 100644 --- a/client/grpc/options.go +++ b/client/grpc/options.go @@ -5,7 +5,7 @@ import ( "context" "crypto/tls" - "github.com/micro/go-micro/v3/client" + "github.com/asim/go-micro/v3/client" "google.golang.org/grpc" "google.golang.org/grpc/encoding" ) diff --git a/client/grpc/request.go b/client/grpc/request.go index e957eb19..1a57ff94 100644 --- a/client/grpc/request.go +++ b/client/grpc/request.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/codec" ) type grpcRequest struct { diff --git a/client/grpc/response.go b/client/grpc/response.go index a506e8a1..93393bdb 100644 --- a/client/grpc/response.go +++ b/client/grpc/response.go @@ -3,8 +3,8 @@ package grpc import ( "strings" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec/bytes" "google.golang.org/grpc" "google.golang.org/grpc/encoding" ) diff --git a/client/grpc/stream.go b/client/grpc/stream.go index 4c7e38fd..19ab394d 100644 --- a/client/grpc/stream.go +++ b/client/grpc/stream.go @@ -5,7 +5,7 @@ import ( "io" "sync" - "github.com/micro/go-micro/v3/client" + "github.com/asim/go-micro/v3/client" "google.golang.org/grpc" ) diff --git a/client/lookup.go b/client/lookup.go index 0bffd480..20ba7556 100644 --- a/client/lookup.go +++ b/client/lookup.go @@ -4,8 +4,8 @@ import ( "context" "sort" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/router" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/router" ) // LookupFunc is used to lookup routes for a service diff --git a/client/mucp/common_test.go b/client/mucp/common_test.go index 24837dd2..b759698b 100644 --- a/client/mucp/common_test.go +++ b/client/mucp/common_test.go @@ -1,7 +1,7 @@ package mucp import ( - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) var ( diff --git a/client/mucp/mucp.go b/client/mucp/mucp.go index 371e2885..0da833ad 100644 --- a/client/mucp/mucp.go +++ b/client/mucp/mucp.go @@ -7,16 +7,16 @@ import ( "sync/atomic" "time" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/codec" + raw "github.com/asim/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/util/buf" + "github.com/asim/go-micro/v3/util/pool" "github.com/google/uuid" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/codec" - raw "github.com/micro/go-micro/v3/codec/bytes" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/metadata" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/util/buf" - "github.com/micro/go-micro/v3/util/pool" ) type rpcClient struct { diff --git a/client/mucp/mucp_codec.go b/client/mucp/mucp_codec.go index 84c9f560..5109a3a7 100644 --- a/client/mucp/mucp_codec.go +++ b/client/mucp/mucp_codec.go @@ -4,16 +4,16 @@ import ( "bytes" errs "errors" - "github.com/micro/go-micro/v3/codec" - raw "github.com/micro/go-micro/v3/codec/bytes" - "github.com/micro/go-micro/v3/codec/grpc" - "github.com/micro/go-micro/v3/codec/json" - "github.com/micro/go-micro/v3/codec/jsonrpc" - "github.com/micro/go-micro/v3/codec/proto" - "github.com/micro/go-micro/v3/codec/protorpc" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/codec" + raw "github.com/asim/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/codec/grpc" + "github.com/asim/go-micro/v3/codec/json" + "github.com/asim/go-micro/v3/codec/jsonrpc" + "github.com/asim/go-micro/v3/codec/proto" + "github.com/asim/go-micro/v3/codec/protorpc" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/registry" ) const ( diff --git a/client/mucp/mucp_message.go b/client/mucp/mucp_message.go index 9336f2fd..593bcf1a 100644 --- a/client/mucp/mucp_message.go +++ b/client/mucp/mucp_message.go @@ -1,7 +1,7 @@ package mucp import ( - "github.com/micro/go-micro/v3/client" + "github.com/asim/go-micro/v3/client" ) type message struct { diff --git a/client/mucp/mucp_request.go b/client/mucp/mucp_request.go index 35b30e1e..72ddb339 100644 --- a/client/mucp/mucp_request.go +++ b/client/mucp/mucp_request.go @@ -1,8 +1,8 @@ package mucp import ( - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/codec" ) type rpcRequest struct { diff --git a/client/mucp/mucp_request_test.go b/client/mucp/mucp_request_test.go index f3f975c2..c783cb34 100644 --- a/client/mucp/mucp_request_test.go +++ b/client/mucp/mucp_request_test.go @@ -3,7 +3,7 @@ package mucp import ( "testing" - "github.com/micro/go-micro/v3/client" + "github.com/asim/go-micro/v3/client" ) func TestRequestOptions(t *testing.T) { diff --git a/client/mucp/mucp_response.go b/client/mucp/mucp_response.go index 80b3e767..1cdb1364 100644 --- a/client/mucp/mucp_response.go +++ b/client/mucp/mucp_response.go @@ -1,8 +1,8 @@ package mucp import ( - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/network/transport" ) type rpcResponse struct { diff --git a/client/mucp/mucp_stream.go b/client/mucp/mucp_stream.go index 04a630c1..3b12e4cc 100644 --- a/client/mucp/mucp_stream.go +++ b/client/mucp/mucp_stream.go @@ -5,8 +5,8 @@ import ( "io" "sync" - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/codec" ) // Implements the streamer interface diff --git a/client/mucp/mucp_test.go b/client/mucp/mucp_test.go index 72735095..c39f196d 100644 --- a/client/mucp/mucp_test.go +++ b/client/mucp/mucp_test.go @@ -5,12 +5,12 @@ import ( "fmt" "testing" - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/memory" - "github.com/micro/go-micro/v3/router" - regRouter "github.com/micro/go-micro/v3/router/registry" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/memory" + "github.com/asim/go-micro/v3/router" + regRouter "github.com/asim/go-micro/v3/router/registry" ) func newTestRouter() router.Router { diff --git a/client/mucp/options_test.go b/client/mucp/options_test.go index 6330b6e5..b2f04694 100644 --- a/client/mucp/options_test.go +++ b/client/mucp/options_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/network/transport" ) func TestCallOptions(t *testing.T) { diff --git a/client/options.go b/client/options.go index 90858cfe..4ef889c7 100644 --- a/client/options.go +++ b/client/options.go @@ -4,16 +4,16 @@ import ( "context" "time" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/broker/http" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/network/transport" - thttp "github.com/micro/go-micro/v3/network/transport/http" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/router" - regRouter "github.com/micro/go-micro/v3/router/registry" - "github.com/micro/go-micro/v3/selector" - "github.com/micro/go-micro/v3/selector/roundrobin" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/broker/http" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/network/transport" + thttp "github.com/asim/go-micro/v3/network/transport/http" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/router" + regRouter "github.com/asim/go-micro/v3/router/registry" + "github.com/asim/go-micro/v3/selector" + "github.com/asim/go-micro/v3/selector/roundrobin" ) type Options struct { diff --git a/client/retry.go b/client/retry.go index 217a50e8..f641d6e2 100644 --- a/client/retry.go +++ b/client/retry.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "github.com/micro/go-micro/v3/errors" + "github.com/asim/go-micro/v3/errors" ) // note that returning either false or a non-nil error will result in the call not being retried diff --git a/codec/bytes/bytes.go b/codec/bytes/bytes.go index f186d4ae..ab97ea6d 100644 --- a/codec/bytes/bytes.go +++ b/codec/bytes/bytes.go @@ -6,7 +6,7 @@ import ( "io" "io/ioutil" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec" ) type Codec struct { diff --git a/codec/bytes/marshaler.go b/codec/bytes/marshaler.go index 76cdd954..4da51fde 100644 --- a/codec/bytes/marshaler.go +++ b/codec/bytes/marshaler.go @@ -1,7 +1,7 @@ package bytes import ( - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec" ) type Marshaler struct{} diff --git a/codec/codec_test.go b/codec/codec_test.go index 564e5a12..aec13003 100644 --- a/codec/codec_test.go +++ b/codec/codec_test.go @@ -4,14 +4,14 @@ import ( "io" "testing" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/codec/bytes" - "github.com/micro/go-micro/v3/codec/grpc" - "github.com/micro/go-micro/v3/codec/json" - "github.com/micro/go-micro/v3/codec/jsonrpc" - "github.com/micro/go-micro/v3/codec/proto" - "github.com/micro/go-micro/v3/codec/protorpc" - "github.com/micro/go-micro/v3/codec/text" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/codec/grpc" + "github.com/asim/go-micro/v3/codec/json" + "github.com/asim/go-micro/v3/codec/jsonrpc" + "github.com/asim/go-micro/v3/codec/proto" + "github.com/asim/go-micro/v3/codec/protorpc" + "github.com/asim/go-micro/v3/codec/text" ) type testRWC struct{} diff --git a/codec/grpc/grpc.go b/codec/grpc/grpc.go index 6f8db3a0..29e2e786 100644 --- a/codec/grpc/grpc.go +++ b/codec/grpc/grpc.go @@ -8,8 +8,8 @@ import ( "io" "strings" + "github.com/asim/go-micro/v3/codec" "github.com/golang/protobuf/proto" - "github.com/micro/go-micro/v3/codec" ) type Codec struct { diff --git a/codec/json/json.go b/codec/json/json.go index 49103e1c..449cb759 100644 --- a/codec/json/json.go +++ b/codec/json/json.go @@ -5,9 +5,9 @@ import ( "encoding/json" "io" + "github.com/asim/go-micro/v3/codec" "github.com/golang/protobuf/jsonpb" "github.com/golang/protobuf/proto" - "github.com/micro/go-micro/v3/codec" ) type Codec struct { diff --git a/codec/jsonrpc/client.go b/codec/jsonrpc/client.go index 6e43cde5..4826cbd2 100644 --- a/codec/jsonrpc/client.go +++ b/codec/jsonrpc/client.go @@ -6,7 +6,7 @@ import ( "io" "sync" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec" ) type clientCodec struct { diff --git a/codec/jsonrpc/jsonrpc.go b/codec/jsonrpc/jsonrpc.go index 7c378daf..86554203 100644 --- a/codec/jsonrpc/jsonrpc.go +++ b/codec/jsonrpc/jsonrpc.go @@ -7,7 +7,7 @@ import ( "fmt" "io" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec" ) type jsonCodec struct { diff --git a/codec/jsonrpc/server.go b/codec/jsonrpc/server.go index cdbd3fa1..128a3802 100644 --- a/codec/jsonrpc/server.go +++ b/codec/jsonrpc/server.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec" ) type serverCodec struct { diff --git a/codec/proto/marshaler.go b/codec/proto/marshaler.go index 23184fdb..86eb45d2 100644 --- a/codec/proto/marshaler.go +++ b/codec/proto/marshaler.go @@ -3,8 +3,8 @@ package proto import ( "bytes" + "github.com/asim/go-micro/v3/codec" "github.com/golang/protobuf/proto" - "github.com/micro/go-micro/v3/codec" "github.com/oxtoacart/bpool" ) diff --git a/codec/proto/proto.go b/codec/proto/proto.go index 8d79af5c..c4375ec2 100644 --- a/codec/proto/proto.go +++ b/codec/proto/proto.go @@ -5,8 +5,8 @@ import ( "io" "io/ioutil" + "github.com/asim/go-micro/v3/codec" "github.com/golang/protobuf/proto" - "github.com/micro/go-micro/v3/codec" ) type Codec struct { diff --git a/codec/protorpc/protorpc.go b/codec/protorpc/protorpc.go index 3460a835..7a28987c 100644 --- a/codec/protorpc/protorpc.go +++ b/codec/protorpc/protorpc.go @@ -8,8 +8,8 @@ import ( "strconv" "sync" + "github.com/asim/go-micro/v3/codec" "github.com/golang/protobuf/proto" - "github.com/micro/go-micro/v3/codec" ) type flusher interface { diff --git a/codec/text/text.go b/codec/text/text.go index a3aaa1ba..9e9b8d5f 100644 --- a/codec/text/text.go +++ b/codec/text/text.go @@ -6,7 +6,7 @@ import ( "io" "io/ioutil" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec" ) type Codec struct { diff --git a/config/env/env.go b/config/env/env.go index d60a61a1..b40123ee 100644 --- a/config/env/env.go +++ b/config/env/env.go @@ -6,7 +6,7 @@ import ( "os" "strings" - "github.com/micro/go-micro/v3/config" + "github.com/asim/go-micro/v3/config" ) type envConfig struct{} diff --git a/config/secrets/secrets.go b/config/secrets/secrets.go index 99619905..b43a2479 100644 --- a/config/secrets/secrets.go +++ b/config/secrets/secrets.go @@ -5,7 +5,7 @@ import ( "encoding/json" "fmt" - "github.com/micro/go-micro/v3/config" + "github.com/asim/go-micro/v3/config" ) // NewSecrets returns a config that encrypts values at rest diff --git a/config/store/store.go b/config/store/store.go index a74c3929..d4b54190 100644 --- a/config/store/store.go +++ b/config/store/store.go @@ -4,8 +4,8 @@ import ( "encoding/json" "strings" - "github.com/micro/go-micro/v3/config" - "github.com/micro/go-micro/v3/store" + "github.com/asim/go-micro/v3/config" + "github.com/asim/go-micro/v3/store" ) // NewConfig returns new config diff --git a/config/store/store_test.go b/config/store/store_test.go index 1215ef35..f7145387 100644 --- a/config/store/store_test.go +++ b/config/store/store_test.go @@ -4,9 +4,9 @@ import ( "reflect" "testing" - "github.com/micro/go-micro/v3/config" - "github.com/micro/go-micro/v3/config/secrets" - "github.com/micro/go-micro/v3/store/memory" + "github.com/asim/go-micro/v3/config" + "github.com/asim/go-micro/v3/config/secrets" + "github.com/asim/go-micro/v3/store/memory" ) type conf1 struct { diff --git a/debug/log/kubernetes/kubernetes.go b/debug/log/kubernetes/kubernetes.go index 5731a2bf..8a55d4eb 100644 --- a/debug/log/kubernetes/kubernetes.go +++ b/debug/log/kubernetes/kubernetes.go @@ -1,4 +1,4 @@ -// Package kubernetes is a logger implementing (github.com/micro/go-micro/v3/debug/log).Log +// Package kubernetes is a logger implementing (github.com/asim/go-micro/v3/debug/log).Log package kubernetes import ( @@ -10,8 +10,8 @@ import ( "strconv" "time" - "github.com/micro/go-micro/v3/debug/log" - "github.com/micro/go-micro/v3/util/kubernetes/client" + "github.com/asim/go-micro/v3/debug/log" + "github.com/asim/go-micro/v3/util/kubernetes/client" ) type klog struct { diff --git a/debug/log/kubernetes/kubernetes_test.go b/debug/log/kubernetes/kubernetes_test.go index 0036a0e9..57572a12 100644 --- a/debug/log/kubernetes/kubernetes_test.go +++ b/debug/log/kubernetes/kubernetes_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/debug/log" + "github.com/asim/go-micro/v3/debug/log" "github.com/stretchr/testify/assert" ) diff --git a/debug/log/kubernetes/stream.go b/debug/log/kubernetes/stream.go index e82ed6bb..faa5b7ac 100644 --- a/debug/log/kubernetes/stream.go +++ b/debug/log/kubernetes/stream.go @@ -6,7 +6,7 @@ import ( "os" "sync" - "github.com/micro/go-micro/v3/debug/log" + "github.com/asim/go-micro/v3/debug/log" ) func write(l log.Record) error { diff --git a/debug/log/memory/memory.go b/debug/log/memory/memory.go index 5fba4282..48dfa6c3 100644 --- a/debug/log/memory/memory.go +++ b/debug/log/memory/memory.go @@ -4,8 +4,8 @@ package memory import ( "fmt" - "github.com/micro/go-micro/v3/debug/log" - "github.com/micro/go-micro/v3/util/ring" + "github.com/asim/go-micro/v3/debug/log" + "github.com/asim/go-micro/v3/util/ring" ) // memoryLog is default micro log diff --git a/debug/log/memory/memory_test.go b/debug/log/memory/memory_test.go index 304c296f..c014ef76 100644 --- a/debug/log/memory/memory_test.go +++ b/debug/log/memory/memory_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/micro/go-micro/v3/debug/log" + "github.com/asim/go-micro/v3/debug/log" ) func TestLogger(t *testing.T) { diff --git a/debug/log/memory/stream.go b/debug/log/memory/stream.go index cd1d8568..38e6dcd3 100644 --- a/debug/log/memory/stream.go +++ b/debug/log/memory/stream.go @@ -1,7 +1,7 @@ package memory import ( - "github.com/micro/go-micro/v3/debug/log" + "github.com/asim/go-micro/v3/debug/log" ) type logStream struct { diff --git a/debug/log/noop/noop.go b/debug/log/noop/noop.go index 1e0d23c4..dbabf8c3 100644 --- a/debug/log/noop/noop.go +++ b/debug/log/noop/noop.go @@ -1,7 +1,7 @@ package noop import ( - "github.com/micro/go-micro/v3/debug/log" + "github.com/asim/go-micro/v3/debug/log" ) type noop struct{} diff --git a/debug/profile/http/http.go b/debug/profile/http/http.go index 609b045e..39d73ad4 100644 --- a/debug/profile/http/http.go +++ b/debug/profile/http/http.go @@ -7,7 +7,7 @@ import ( "net/http/pprof" "sync" - "github.com/micro/go-micro/v3/debug/profile" + "github.com/asim/go-micro/v3/debug/profile" ) type httpProfile struct { diff --git a/debug/profile/pprof/pprof.go b/debug/profile/pprof/pprof.go index 0bc754cc..320e1056 100644 --- a/debug/profile/pprof/pprof.go +++ b/debug/profile/pprof/pprof.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/debug/profile" + "github.com/asim/go-micro/v3/debug/profile" ) type profiler struct { diff --git a/debug/stats/memory/memory.go b/debug/stats/memory/memory.go index c539ccd0..a18679b9 100644 --- a/debug/stats/memory/memory.go +++ b/debug/stats/memory/memory.go @@ -5,8 +5,8 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/debug/stats" - "github.com/micro/go-micro/v3/util/ring" + "github.com/asim/go-micro/v3/debug/stats" + "github.com/asim/go-micro/v3/util/ring" ) type memoryStats struct { diff --git a/debug/trace/memory/memory.go b/debug/trace/memory/memory.go index c62d7cf4..87f80445 100644 --- a/debug/trace/memory/memory.go +++ b/debug/trace/memory/memory.go @@ -4,9 +4,9 @@ import ( "context" "time" + "github.com/asim/go-micro/v3/debug/trace" + "github.com/asim/go-micro/v3/util/ring" "github.com/google/uuid" - "github.com/micro/go-micro/v3/debug/trace" - "github.com/micro/go-micro/v3/util/ring" ) type Tracer struct { diff --git a/debug/trace/trace.go b/debug/trace/trace.go index 343701f6..acd1cbb0 100644 --- a/debug/trace/trace.go +++ b/debug/trace/trace.go @@ -5,7 +5,7 @@ import ( "context" "time" - "github.com/micro/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/metadata" ) // Tracer is an interface for distributed tracing diff --git a/events/memory/memory.go b/events/memory/memory.go index fe894cdc..ed590997 100644 --- a/events/memory/memory.go +++ b/events/memory/memory.go @@ -6,11 +6,11 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/events" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/store" + "github.com/asim/go-micro/v3/store/memory" "github.com/google/uuid" - "github.com/micro/go-micro/v3/events" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/store" - "github.com/micro/go-micro/v3/store/memory" "github.com/pkg/errors" ) diff --git a/events/options.go b/events/options.go index a42494c8..99f7668d 100644 --- a/events/options.go +++ b/events/options.go @@ -3,7 +3,7 @@ package events import ( "time" - "github.com/micro/go-micro/v3/store" + "github.com/asim/go-micro/v3/store" ) // Options which are used to configure the in-memory stream diff --git a/events/test/stream_test.go b/events/test/stream_test.go index e1819630..b32d503d 100644 --- a/events/test/stream_test.go +++ b/events/test/stream_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/events" - "github.com/micro/go-micro/v3/events/memory" + "github.com/asim/go-micro/v3/events" + "github.com/asim/go-micro/v3/events/memory" "github.com/google/uuid" "github.com/stretchr/testify/assert" diff --git a/go.mod b/go.mod index 8e460623..535f585f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/micro/go-micro/v3 +module github.com/asim/go-micro/v3 go 1.13 diff --git a/model/model.go b/model/model.go index 391d28b1..cb9780a4 100644 --- a/model/model.go +++ b/model/model.go @@ -2,9 +2,9 @@ package model import ( - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/store" - "github.com/micro/go-micro/v3/sync" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/store" + "github.com/asim/go-micro/v3/sync" ) // Model provides an interface for data modelling diff --git a/model/mud/entity.go b/model/mud/entity.go index 8b286ecd..85c6b577 100644 --- a/model/mud/entity.go +++ b/model/mud/entity.go @@ -1,9 +1,9 @@ package mud import ( + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/model" "github.com/google/uuid" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/model" ) type mudEntity struct { diff --git a/model/mud/mud.go b/model/mud/mud.go index 46060df6..acb226ed 100644 --- a/model/mud/mud.go +++ b/model/mud/mud.go @@ -2,11 +2,11 @@ package mud import ( - "github.com/micro/go-micro/v3/codec/json" - "github.com/micro/go-micro/v3/model" - "github.com/micro/go-micro/v3/store" - "github.com/micro/go-micro/v3/store/memory" - memsync "github.com/micro/go-micro/v3/sync/memory" + "github.com/asim/go-micro/v3/codec/json" + "github.com/asim/go-micro/v3/model" + "github.com/asim/go-micro/v3/store" + "github.com/asim/go-micro/v3/store/memory" + memsync "github.com/asim/go-micro/v3/sync/memory" ) type mudModel struct { diff --git a/network/mucp/mucp.go b/network/mucp/mucp.go index ebabbec3..c4a61a3b 100644 --- a/network/mucp/mucp.go +++ b/network/mucp/mucp.go @@ -10,23 +10,23 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/client" + cmucp "github.com/asim/go-micro/v3/client/mucp" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/network" + pb "github.com/asim/go-micro/v3/network/mucp/proto" + "github.com/asim/go-micro/v3/network/resolver/dns" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/tunnel" + bun "github.com/asim/go-micro/v3/network/tunnel/broker" + tun "github.com/asim/go-micro/v3/network/tunnel/transport" + "github.com/asim/go-micro/v3/proxy" + "github.com/asim/go-micro/v3/registry/noop" + "github.com/asim/go-micro/v3/router" + "github.com/asim/go-micro/v3/server" + smucp "github.com/asim/go-micro/v3/server/mucp" + "github.com/asim/go-micro/v3/util/backoff" "github.com/golang/protobuf/proto" - "github.com/micro/go-micro/v3/client" - cmucp "github.com/micro/go-micro/v3/client/mucp" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/network" - pb "github.com/micro/go-micro/v3/network/mucp/proto" - "github.com/micro/go-micro/v3/network/resolver/dns" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/network/tunnel" - bun "github.com/micro/go-micro/v3/network/tunnel/broker" - tun "github.com/micro/go-micro/v3/network/tunnel/transport" - "github.com/micro/go-micro/v3/proxy" - "github.com/micro/go-micro/v3/registry/noop" - "github.com/micro/go-micro/v3/router" - "github.com/micro/go-micro/v3/server" - smucp "github.com/micro/go-micro/v3/server/mucp" - "github.com/micro/go-micro/v3/util/backoff" ) var ( diff --git a/network/mucp/node.go b/network/mucp/node.go index 0231dfc7..5098ddd4 100644 --- a/network/mucp/node.go +++ b/network/mucp/node.go @@ -6,8 +6,8 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/network" - pb "github.com/micro/go-micro/v3/network/mucp/proto" + "github.com/asim/go-micro/v3/network" + pb "github.com/asim/go-micro/v3/network/mucp/proto" ) // nodeError tracks node errors diff --git a/network/mucp/node_test.go b/network/mucp/node_test.go index 3b805e34..ca4c5439 100644 --- a/network/mucp/node_test.go +++ b/network/mucp/node_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/network" - pb "github.com/micro/go-micro/v3/network/mucp/proto" + "github.com/asim/go-micro/v3/network" + pb "github.com/asim/go-micro/v3/network/mucp/proto" ) var ( diff --git a/network/mucp/proto/network.pb.go b/network/mucp/proto/network.pb.go index 2d3cba5c..60871d0b 100644 --- a/network/mucp/proto/network.pb.go +++ b/network/mucp/proto/network.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.22.0 // protoc v3.11.4 -// source: github.com/micro/go-micro/network/mucp/proto/network.proto +// source: github.com/asim/go-micro/network/mucp/proto/network.proto package go_micro_network_mucp diff --git a/network/mucp/proto/network.pb.micro.go b/network/mucp/proto/network.pb.micro.go index efe35670..697f80f3 100644 --- a/network/mucp/proto/network.pb.micro.go +++ b/network/mucp/proto/network.pb.micro.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-micro. DO NOT EDIT. -// source: github.com/micro/go-micro/network/mucp/proto/network.proto +// source: github.com/asim/go-micro/network/mucp/proto/network.proto package go_micro_network_mucp diff --git a/network/network.go b/network/network.go index c7a25a10..cba54055 100644 --- a/network/network.go +++ b/network/network.go @@ -2,8 +2,8 @@ package network import ( - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/server" ) // Network is micro network diff --git a/network/options.go b/network/options.go index 7c0bd6f3..d88408bd 100644 --- a/network/options.go +++ b/network/options.go @@ -1,13 +1,13 @@ package network import ( + "github.com/asim/go-micro/v3/network/tunnel" + tmucp "github.com/asim/go-micro/v3/network/tunnel/mucp" + "github.com/asim/go-micro/v3/proxy" + "github.com/asim/go-micro/v3/proxy/mucp" + "github.com/asim/go-micro/v3/router" + regRouter "github.com/asim/go-micro/v3/router/registry" "github.com/google/uuid" - "github.com/micro/go-micro/v3/network/tunnel" - tmucp "github.com/micro/go-micro/v3/network/tunnel/mucp" - "github.com/micro/go-micro/v3/proxy" - "github.com/micro/go-micro/v3/proxy/mucp" - "github.com/micro/go-micro/v3/router" - regRouter "github.com/micro/go-micro/v3/router/registry" ) type Option func(*Options) diff --git a/network/resolver/dns/dns.go b/network/resolver/dns/dns.go index f70766a2..15f55961 100644 --- a/network/resolver/dns/dns.go +++ b/network/resolver/dns/dns.go @@ -5,7 +5,7 @@ import ( "context" "net" - "github.com/micro/go-micro/v3/network/resolver" + "github.com/asim/go-micro/v3/network/resolver" "github.com/miekg/dns" ) diff --git a/network/resolver/dnssrv/dnssrv.go b/network/resolver/dnssrv/dnssrv.go index 667f690a..904ffcfc 100644 --- a/network/resolver/dnssrv/dnssrv.go +++ b/network/resolver/dnssrv/dnssrv.go @@ -5,7 +5,7 @@ import ( "fmt" "net" - "github.com/micro/go-micro/v3/network/resolver" + "github.com/asim/go-micro/v3/network/resolver" ) // Resolver is a DNS network resolve diff --git a/network/resolver/http/http.go b/network/resolver/http/http.go index 1ccad794..bf6ada71 100644 --- a/network/resolver/http/http.go +++ b/network/resolver/http/http.go @@ -8,7 +8,7 @@ import ( "net/http" "net/url" - "github.com/micro/go-micro/v3/network/resolver" + "github.com/asim/go-micro/v3/network/resolver" ) // Resolver is a HTTP network resolver diff --git a/network/resolver/noop/noop.go b/network/resolver/noop/noop.go index 4be283f3..dbb8aed2 100644 --- a/network/resolver/noop/noop.go +++ b/network/resolver/noop/noop.go @@ -2,7 +2,7 @@ package noop import ( - "github.com/micro/go-micro/v3/network/resolver" + "github.com/asim/go-micro/v3/network/resolver" ) type Resolver struct{} diff --git a/network/resolver/registry/registry.go b/network/resolver/registry/registry.go index caacf431..6e58e259 100644 --- a/network/resolver/registry/registry.go +++ b/network/resolver/registry/registry.go @@ -2,9 +2,9 @@ package registry import ( - "github.com/micro/go-micro/v3/network/resolver" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/mdns" + "github.com/asim/go-micro/v3/network/resolver" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/mdns" ) // Resolver is a registry network resolver diff --git a/network/resolver/static/static.go b/network/resolver/static/static.go index a5badf1a..ab9606a2 100644 --- a/network/resolver/static/static.go +++ b/network/resolver/static/static.go @@ -2,7 +2,7 @@ package static import ( - "github.com/micro/go-micro/v3/network/resolver" + "github.com/asim/go-micro/v3/network/resolver" ) // Resolver returns a static list of nodes. In the event the node list diff --git a/network/transport/grpc/grpc.go b/network/transport/grpc/grpc.go index 0c6fbf8e..cadb5626 100644 --- a/network/transport/grpc/grpc.go +++ b/network/transport/grpc/grpc.go @@ -6,15 +6,15 @@ import ( "crypto/tls" "net" - "github.com/micro/go-micro/v3/network/transport" - maddr "github.com/micro/go-micro/v3/util/addr" - mnet "github.com/micro/go-micro/v3/util/net" - mls "github.com/micro/go-micro/v3/util/tls" + "github.com/asim/go-micro/v3/network/transport" + maddr "github.com/asim/go-micro/v3/util/addr" + mnet "github.com/asim/go-micro/v3/util/net" + mls "github.com/asim/go-micro/v3/util/tls" "google.golang.org/grpc" "google.golang.org/grpc/credentials" - pb "github.com/micro/go-micro/v3/network/transport/grpc/proto" + pb "github.com/asim/go-micro/v3/network/transport/grpc/proto" ) type grpcTransport struct { diff --git a/network/transport/grpc/grpc_test.go b/network/transport/grpc/grpc_test.go index 35cf9c13..f59d286f 100644 --- a/network/transport/grpc/grpc_test.go +++ b/network/transport/grpc/grpc_test.go @@ -4,7 +4,7 @@ import ( "net" "testing" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport" ) func expectedPort(t *testing.T, expected string, lsn transport.Listener) { diff --git a/network/transport/grpc/handler.go b/network/transport/grpc/handler.go index 42405527..9f62a809 100644 --- a/network/transport/grpc/handler.go +++ b/network/transport/grpc/handler.go @@ -3,10 +3,10 @@ package grpc import ( "runtime/debug" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/network/transport" - pb "github.com/micro/go-micro/v3/network/transport/grpc/proto" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/network/transport" + pb "github.com/asim/go-micro/v3/network/transport/grpc/proto" "google.golang.org/grpc/peer" ) diff --git a/network/transport/grpc/proto/transport.pb.micro.go b/network/transport/grpc/proto/transport.pb.micro.go index c5a18636..08aeb24a 100644 --- a/network/transport/grpc/proto/transport.pb.micro.go +++ b/network/transport/grpc/proto/transport.pb.micro.go @@ -11,9 +11,9 @@ import ( import ( context "context" - api "github.com/micro/go-micro/v3/api" - client "github.com/micro/go-micro/v3/client" - server "github.com/micro/go-micro/v3/server" + api "github.com/asim/go-micro/v3/api" + client "github.com/asim/go-micro/v3/client" + server "github.com/asim/go-micro/v3/server" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/network/transport/grpc/socket.go b/network/transport/grpc/socket.go index c8d180e3..c14c8661 100644 --- a/network/transport/grpc/socket.go +++ b/network/transport/grpc/socket.go @@ -1,8 +1,8 @@ package grpc import ( - "github.com/micro/go-micro/v3/network/transport" - pb "github.com/micro/go-micro/v3/network/transport/grpc/proto" + "github.com/asim/go-micro/v3/network/transport" + pb "github.com/asim/go-micro/v3/network/transport/grpc/proto" "google.golang.org/grpc" ) diff --git a/network/transport/http/http.go b/network/transport/http/http.go index 1686ead3..7227743b 100644 --- a/network/transport/http/http.go +++ b/network/transport/http/http.go @@ -13,11 +13,11 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/network/transport" - maddr "github.com/micro/go-micro/v3/util/addr" - "github.com/micro/go-micro/v3/util/buf" - mnet "github.com/micro/go-micro/v3/util/net" - mls "github.com/micro/go-micro/v3/util/tls" + "github.com/asim/go-micro/v3/network/transport" + maddr "github.com/asim/go-micro/v3/util/addr" + "github.com/asim/go-micro/v3/util/buf" + mnet "github.com/asim/go-micro/v3/util/net" + mls "github.com/asim/go-micro/v3/util/tls" "golang.org/x/net/http2" "golang.org/x/net/http2/h2c" ) diff --git a/network/transport/http/http_test.go b/network/transport/http/http_test.go index 2a40ba04..8cbaf2b6 100644 --- a/network/transport/http/http_test.go +++ b/network/transport/http/http_test.go @@ -4,7 +4,7 @@ import ( "sync" "testing" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport" ) func call(b *testing.B, c int) { diff --git a/network/transport/http/http_transport_test.go b/network/transport/http/http_transport_test.go index c5711d77..74b11ca9 100644 --- a/network/transport/http/http_transport_test.go +++ b/network/transport/http/http_transport_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport" ) func expectedPort(t *testing.T, expected string, lsn transport.Listener) { diff --git a/network/transport/http/options.go b/network/transport/http/options.go index 0a9f9a2c..1ae1b1d5 100644 --- a/network/transport/http/options.go +++ b/network/transport/http/options.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport" ) // Handle registers the handler for the given pattern. diff --git a/network/transport/memory/memory.go b/network/transport/memory/memory.go index 3200df56..96a9c11e 100644 --- a/network/transport/memory/memory.go +++ b/network/transport/memory/memory.go @@ -10,9 +10,9 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/network/transport" - maddr "github.com/micro/go-micro/v3/util/addr" - mnet "github.com/micro/go-micro/v3/util/net" + "github.com/asim/go-micro/v3/network/transport" + maddr "github.com/asim/go-micro/v3/util/addr" + mnet "github.com/asim/go-micro/v3/util/net" ) type memorySocket struct { diff --git a/network/transport/memory/memory_test.go b/network/transport/memory/memory_test.go index 567aaa9a..0f5067da 100644 --- a/network/transport/memory/memory_test.go +++ b/network/transport/memory/memory_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport" ) func TestMemoryTransport(t *testing.T) { diff --git a/network/transport/options.go b/network/transport/options.go index 343bed8d..26a0cd9f 100644 --- a/network/transport/options.go +++ b/network/transport/options.go @@ -5,7 +5,7 @@ import ( "crypto/tls" "time" - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec" ) type Options struct { diff --git a/network/tunnel/broker/broker.go b/network/tunnel/broker/broker.go index 08cc07e2..02599185 100644 --- a/network/tunnel/broker/broker.go +++ b/network/tunnel/broker/broker.go @@ -4,10 +4,10 @@ package broker import ( "context" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/network/tunnel" - "github.com/micro/go-micro/v3/network/tunnel/mucp" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/tunnel" + "github.com/asim/go-micro/v3/network/tunnel/mucp" ) type tunBroker struct { diff --git a/network/tunnel/mucp/crypto.go b/network/tunnel/mucp/crypto.go index 908f177c..20e858d8 100644 --- a/network/tunnel/mucp/crypto.go +++ b/network/tunnel/mucp/crypto.go @@ -6,7 +6,7 @@ import ( "crypto/rand" "crypto/sha256" - "github.com/micro/go-micro/v3/network/tunnel" + "github.com/asim/go-micro/v3/network/tunnel" "github.com/oxtoacart/bpool" ) diff --git a/network/tunnel/mucp/link.go b/network/tunnel/mucp/link.go index 75879c51..9098f413 100644 --- a/network/tunnel/mucp/link.go +++ b/network/tunnel/mucp/link.go @@ -7,9 +7,9 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/network/transport" "github.com/google/uuid" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/network/transport" ) type link struct { diff --git a/network/tunnel/mucp/listener.go b/network/tunnel/mucp/listener.go index dc453c7a..a04eb362 100644 --- a/network/tunnel/mucp/listener.go +++ b/network/tunnel/mucp/listener.go @@ -4,8 +4,8 @@ import ( "io" "sync" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/network/tunnel" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/network/tunnel" ) type tunListener struct { diff --git a/network/tunnel/mucp/mucp.go b/network/tunnel/mucp/mucp.go index bf24c75b..ebc5590d 100644 --- a/network/tunnel/mucp/mucp.go +++ b/network/tunnel/mucp/mucp.go @@ -7,10 +7,10 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/tunnel" "github.com/google/uuid" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/network/tunnel" ) var ( diff --git a/network/tunnel/mucp/mucp_test.go b/network/tunnel/mucp/mucp_test.go index 81f8b36d..f94d9495 100644 --- a/network/tunnel/mucp/mucp_test.go +++ b/network/tunnel/mucp/mucp_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/network/tunnel" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/tunnel" ) func testBrokenTunAccept(t *testing.T, tun tunnel.Tunnel, wait chan bool, wg *sync.WaitGroup) { diff --git a/network/tunnel/mucp/session.go b/network/tunnel/mucp/session.go index 0f8abe94..f190526a 100644 --- a/network/tunnel/mucp/session.go +++ b/network/tunnel/mucp/session.go @@ -7,9 +7,9 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/network/tunnel" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/tunnel" ) // session is our pseudo session for transport.Socket diff --git a/network/tunnel/options.go b/network/tunnel/options.go index 50001a05..a855fac5 100644 --- a/network/tunnel/options.go +++ b/network/tunnel/options.go @@ -3,9 +3,9 @@ package tunnel import ( "time" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport/grpc" "github.com/google/uuid" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/network/transport/grpc" ) var ( diff --git a/network/tunnel/transport/listener.go b/network/tunnel/transport/listener.go index 3531a861..e47e43d6 100644 --- a/network/tunnel/transport/listener.go +++ b/network/tunnel/transport/listener.go @@ -1,8 +1,8 @@ package transport import ( - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/network/tunnel" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/tunnel" ) type tunListener struct { diff --git a/network/tunnel/transport/transport.go b/network/tunnel/transport/transport.go index b282b32e..e63b0cf2 100644 --- a/network/tunnel/transport/transport.go +++ b/network/tunnel/transport/transport.go @@ -4,9 +4,9 @@ package transport import ( "context" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/network/tunnel" - "github.com/micro/go-micro/v3/network/tunnel/mucp" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/tunnel" + "github.com/asim/go-micro/v3/network/tunnel/mucp" ) type tunTransport struct { diff --git a/network/tunnel/tunnel.go b/network/tunnel/tunnel.go index 7286cf90..6739161e 100644 --- a/network/tunnel/tunnel.go +++ b/network/tunnel/tunnel.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport" ) const ( diff --git a/proxy/grpc/grpc.go b/proxy/grpc/grpc.go index 04b18b8b..08d0063c 100644 --- a/proxy/grpc/grpc.go +++ b/proxy/grpc/grpc.go @@ -6,14 +6,14 @@ import ( "io" "strings" - "github.com/micro/go-micro/v3/client" - grpcc "github.com/micro/go-micro/v3/client/grpc" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/codec/bytes" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/proxy" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/client" + grpcc "github.com/asim/go-micro/v3/client/grpc" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/proxy" + "github.com/asim/go-micro/v3/server" "google.golang.org/grpc" ) diff --git a/proxy/http/http.go b/proxy/http/http.go index 122134fd..29241de9 100644 --- a/proxy/http/http.go +++ b/proxy/http/http.go @@ -10,9 +10,9 @@ import ( "net/url" "path" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/proxy" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/proxy" + "github.com/asim/go-micro/v3/server" ) // Proxy will proxy rpc requests as http POST requests. It is a server.Proxy diff --git a/proxy/http/http_test.go b/proxy/http/http_test.go index 8821856b..af2738e4 100644 --- a/proxy/http/http_test.go +++ b/proxy/http/http_test.go @@ -7,13 +7,13 @@ import ( "net/http" "testing" - "github.com/micro/go-micro/v3/client" - cmucp "github.com/micro/go-micro/v3/client/mucp" - "github.com/micro/go-micro/v3/registry/memory" - "github.com/micro/go-micro/v3/router" - "github.com/micro/go-micro/v3/router/registry" - "github.com/micro/go-micro/v3/server" - "github.com/micro/go-micro/v3/server/mucp" + "github.com/asim/go-micro/v3/client" + cmucp "github.com/asim/go-micro/v3/client/mucp" + "github.com/asim/go-micro/v3/registry/memory" + "github.com/asim/go-micro/v3/router" + "github.com/asim/go-micro/v3/router/registry" + "github.com/asim/go-micro/v3/server" + "github.com/asim/go-micro/v3/server/mucp" ) type testHandler struct{} diff --git a/proxy/mucp/mucp.go b/proxy/mucp/mucp.go index 9252abee..e2189606 100644 --- a/proxy/mucp/mucp.go +++ b/proxy/mucp/mucp.go @@ -10,19 +10,19 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/client" - grpcc "github.com/micro/go-micro/v3/client/grpc" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/codec/bytes" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/metadata" - "github.com/micro/go-micro/v3/proxy" - "github.com/micro/go-micro/v3/router" - "github.com/micro/go-micro/v3/router/registry" - "github.com/micro/go-micro/v3/selector" - "github.com/micro/go-micro/v3/selector/roundrobin" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/client" + grpcc "github.com/asim/go-micro/v3/client/grpc" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/proxy" + "github.com/asim/go-micro/v3/router" + "github.com/asim/go-micro/v3/router/registry" + "github.com/asim/go-micro/v3/selector" + "github.com/asim/go-micro/v3/selector/roundrobin" + "github.com/asim/go-micro/v3/server" "google.golang.org/grpc" ) diff --git a/proxy/options.go b/proxy/options.go index ad1a3ef4..047274b6 100644 --- a/proxy/options.go +++ b/proxy/options.go @@ -2,8 +2,8 @@ package proxy import ( - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/router" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/router" ) type Options struct { diff --git a/proxy/proxy.go b/proxy/proxy.go index 167b1a81..c0e77a26 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -4,7 +4,7 @@ package proxy import ( "context" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/server" ) // Proxy can be used as a proxy server for go-micro services diff --git a/registry/cache/README.md b/registry/cache/README.md index ae208523..b1eed8d5 100644 --- a/registry/cache/README.md +++ b/registry/cache/README.md @@ -1,6 +1,6 @@ # Registry Cache -Cache is a library that provides a caching layer for the go-micro [registry](https://godoc.org/github.com/micro/go-micro/registry#Registry). +Cache is a library that provides a caching layer for the go-micro [registry](https://godoc.org/github.com/asim/go-micro/registry#Registry). If you're looking for caching in your microservices use the [selector](https://micro.mu/docs/fault-tolerance.html#caching-discovery). @@ -19,7 +19,7 @@ type Cache interface { ## Usage ```go -import "github.com/micro/go-micro/registry/cache" +import "github.com/asim/go-micro/registry/cache" # create a new cache c := cache.New(registry) diff --git a/registry/cache/cache.go b/registry/cache/cache.go index 4d7a0cee..188b2419 100644 --- a/registry/cache/cache.go +++ b/registry/cache/cache.go @@ -7,9 +7,9 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/registry" - util "github.com/micro/go-micro/v3/util/registry" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/registry" + util "github.com/asim/go-micro/v3/util/registry" ) // Cache is the registry cache interface diff --git a/registry/mdns/mdns.go b/registry/mdns/mdns.go index cb6f48fd..bed8960f 100644 --- a/registry/mdns/mdns.go +++ b/registry/mdns/mdns.go @@ -14,10 +14,10 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/util/mdns" "github.com/google/uuid" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/util/mdns" ) const ( diff --git a/registry/mdns/mdns_test.go b/registry/mdns/mdns_test.go index 7e3d4c1a..1f7693e6 100644 --- a/registry/mdns/mdns_test.go +++ b/registry/mdns/mdns_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) func TestMDNS(t *testing.T) { diff --git a/registry/mdns/options.go b/registry/mdns/options.go index 0de2d3bb..a4e24dca 100644 --- a/registry/mdns/options.go +++ b/registry/mdns/options.go @@ -4,7 +4,7 @@ package mdns import ( "context" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) // Domain sets the mdnsDomain diff --git a/registry/memory/memory.go b/registry/memory/memory.go index 91e3c7a4..78d15416 100644 --- a/registry/memory/memory.go +++ b/registry/memory/memory.go @@ -6,9 +6,9 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/registry" "github.com/google/uuid" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/registry" ) var ( diff --git a/registry/memory/memory_test.go b/registry/memory/memory_test.go index ee17634f..d9ca23cd 100644 --- a/registry/memory/memory_test.go +++ b/registry/memory/memory_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) var ( diff --git a/registry/memory/options.go b/registry/memory/options.go index f9027632..044ebcf0 100644 --- a/registry/memory/options.go +++ b/registry/memory/options.go @@ -3,7 +3,7 @@ package memory import ( "context" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) type servicesKey struct{} diff --git a/registry/memory/util.go b/registry/memory/util.go index 82c02762..ce0ef70d 100644 --- a/registry/memory/util.go +++ b/registry/memory/util.go @@ -3,7 +3,7 @@ package memory import ( "time" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) func serviceToRecord(s *registry.Service, ttl time.Duration) *record { diff --git a/registry/memory/watcher.go b/registry/memory/watcher.go index 328a4bed..4eb7c613 100644 --- a/registry/memory/watcher.go +++ b/registry/memory/watcher.go @@ -3,7 +3,7 @@ package memory import ( "errors" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) type Watcher struct { diff --git a/registry/memory/watcher_test.go b/registry/memory/watcher_test.go index 0180a94c..cc183371 100644 --- a/registry/memory/watcher_test.go +++ b/registry/memory/watcher_test.go @@ -3,7 +3,7 @@ package memory import ( "testing" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) func TestWatcher(t *testing.T) { diff --git a/registry/noop/noop.go b/registry/noop/noop.go index 0dd9f65e..0e578b07 100644 --- a/registry/noop/noop.go +++ b/registry/noop/noop.go @@ -4,7 +4,7 @@ package noop import ( "errors" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) type noopRegistry struct{} diff --git a/router/dns/dns.go b/router/dns/dns.go index 005d4295..4a2e979c 100644 --- a/router/dns/dns.go +++ b/router/dns/dns.go @@ -5,7 +5,7 @@ import ( "net" "strconv" - "github.com/micro/go-micro/v3/router" + "github.com/asim/go-micro/v3/router" ) // NewRouter returns an initialized dns router diff --git a/router/kubernetes/kubernetes.go b/router/kubernetes/kubernetes.go index 9c4fcf92..f5caf75e 100644 --- a/router/kubernetes/kubernetes.go +++ b/router/kubernetes/kubernetes.go @@ -4,7 +4,7 @@ package kubernetes import ( "fmt" - "github.com/micro/go-micro/v3/router" + "github.com/asim/go-micro/v3/router" ) // NewRouter returns an initialized kubernetes router diff --git a/router/mdns/mdns.go b/router/mdns/mdns.go index ce11fd19..0b07cee9 100644 --- a/router/mdns/mdns.go +++ b/router/mdns/mdns.go @@ -7,8 +7,8 @@ import ( "strconv" "time" - "github.com/micro/go-micro/v3/router" - "github.com/micro/go-micro/v3/util/mdns" + "github.com/asim/go-micro/v3/router" + "github.com/asim/go-micro/v3/util/mdns" ) // NewRouter returns an initialized dns router diff --git a/router/options.go b/router/options.go index 30cd93bb..a877e901 100644 --- a/router/options.go +++ b/router/options.go @@ -3,9 +3,9 @@ package router import ( "context" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/mdns" "github.com/google/uuid" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/mdns" ) // Options are router options diff --git a/router/registry/registry.go b/router/registry/registry.go index f36a8703..45f1de5e 100644 --- a/router/registry/registry.go +++ b/router/registry/registry.go @@ -6,9 +6,9 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/router" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/router" ) var ( diff --git a/router/registry/registry_test.go b/router/registry/registry_test.go index b8886dfb..bb2f6ae3 100644 --- a/router/registry/registry_test.go +++ b/router/registry/registry_test.go @@ -4,8 +4,8 @@ import ( "os" "testing" - "github.com/micro/go-micro/v3/registry/memory" - "github.com/micro/go-micro/v3/router" + "github.com/asim/go-micro/v3/registry/memory" + "github.com/asim/go-micro/v3/router" ) func routerTestSetup() router.Router { diff --git a/router/registry/table.go b/router/registry/table.go index 9f99a6aa..5085b03e 100644 --- a/router/registry/table.go +++ b/router/registry/table.go @@ -4,9 +4,9 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/router" "github.com/google/uuid" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/router" ) // table is an in-memory routing table diff --git a/router/registry/table_test.go b/router/registry/table_test.go index 7d7b7898..715515c2 100644 --- a/router/registry/table_test.go +++ b/router/registry/table_test.go @@ -3,7 +3,7 @@ package registry import ( "testing" - "github.com/micro/go-micro/v3/router" + "github.com/asim/go-micro/v3/router" ) func testSetup() (*table, router.Route) { diff --git a/router/registry/watcher.go b/router/registry/watcher.go index edc94ea1..67c46435 100644 --- a/router/registry/watcher.go +++ b/router/registry/watcher.go @@ -3,7 +3,7 @@ package registry import ( "sync" - "github.com/micro/go-micro/v3/router" + "github.com/asim/go-micro/v3/router" ) // tableWatcher implements routing table Watcher diff --git a/router/static/static.go b/router/static/static.go index 62cae163..8e90776b 100644 --- a/router/static/static.go +++ b/router/static/static.go @@ -5,7 +5,7 @@ import ( "fmt" "net" - "github.com/micro/go-micro/v3/router" + "github.com/asim/go-micro/v3/router" ) var ( diff --git a/runtime/kubernetes/kubernetes.go b/runtime/kubernetes/kubernetes.go index 76775cfe..5ec5a9c6 100644 --- a/runtime/kubernetes/kubernetes.go +++ b/runtime/kubernetes/kubernetes.go @@ -6,11 +6,11 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/logger" - log "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/runtime" - "github.com/micro/go-micro/v3/util/kubernetes/api" - "github.com/micro/go-micro/v3/util/kubernetes/client" + "github.com/asim/go-micro/v3/logger" + log "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/runtime" + "github.com/asim/go-micro/v3/util/kubernetes/api" + "github.com/asim/go-micro/v3/util/kubernetes/client" ) // action to take on runtime service diff --git a/runtime/kubernetes/kubernetes_test.go b/runtime/kubernetes/kubernetes_test.go index 763aba6c..b6b4dea9 100644 --- a/runtime/kubernetes/kubernetes_test.go +++ b/runtime/kubernetes/kubernetes_test.go @@ -12,7 +12,7 @@ import ( "strings" "testing" - "github.com/micro/go-micro/v3/runtime" + "github.com/asim/go-micro/v3/runtime" "github.com/stretchr/testify/assert" ) diff --git a/runtime/kubernetes/logs.go b/runtime/kubernetes/logs.go index b67632a6..3fd30183 100644 --- a/runtime/kubernetes/logs.go +++ b/runtime/kubernetes/logs.go @@ -1,4 +1,4 @@ -// Package kubernetes taken from https://github.com/micro/go-micro/blob/master/debug/log/kubernetes/kubernetes.go +// Package kubernetes taken from https://github.com/asim/go-micro/blob/master/debug/log/kubernetes/kubernetes.go // There are some modifications compared to the other files as // this package doesn't provide write functionality. // With the write functionality gone, structured logs also go away. @@ -9,10 +9,10 @@ import ( "strconv" "time" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/runtime" - "github.com/micro/go-micro/v3/util/kubernetes/client" - "github.com/micro/go-micro/v3/util/log" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/runtime" + "github.com/asim/go-micro/v3/util/kubernetes/client" + "github.com/asim/go-micro/v3/util/log" ) type klog struct { diff --git a/runtime/kubernetes/namespace.go b/runtime/kubernetes/namespace.go index a71b1104..1c174475 100644 --- a/runtime/kubernetes/namespace.go +++ b/runtime/kubernetes/namespace.go @@ -3,9 +3,9 @@ package kubernetes import ( "strings" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/runtime" - "github.com/micro/go-micro/v3/util/kubernetes/client" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/runtime" + "github.com/asim/go-micro/v3/util/kubernetes/client" ) func (k *kubernetes) ensureNamepaceExists(ns string) error { diff --git a/runtime/kubernetes/networkpolicy.go b/runtime/kubernetes/networkpolicy.go index 85af938e..5295e7a6 100644 --- a/runtime/kubernetes/networkpolicy.go +++ b/runtime/kubernetes/networkpolicy.go @@ -1,9 +1,9 @@ package kubernetes import ( - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/runtime" - "github.com/micro/go-micro/v3/util/kubernetes/client" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/runtime" + "github.com/asim/go-micro/v3/util/kubernetes/client" ) // createNetworkPolicy creates a networkpolicy resource diff --git a/runtime/kubernetes/util.go b/runtime/kubernetes/util.go index 9f1ed54e..e4dd5cde 100644 --- a/runtime/kubernetes/util.go +++ b/runtime/kubernetes/util.go @@ -6,10 +6,10 @@ import ( "fmt" "strings" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/runtime" - "github.com/micro/go-micro/v3/util/kubernetes/api" - "github.com/micro/go-micro/v3/util/kubernetes/client" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/runtime" + "github.com/asim/go-micro/v3/util/kubernetes/api" + "github.com/asim/go-micro/v3/util/kubernetes/client" ) // getServices queries kubernetes for services. It gets information from both the pods and the diff --git a/runtime/local/local.go b/runtime/local/local.go index 0af2b356..83ff63cb 100644 --- a/runtime/local/local.go +++ b/runtime/local/local.go @@ -10,9 +10,9 @@ import ( "strings" "sync" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/runtime" "github.com/hpcloud/tail" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/runtime" ) // defaultNamespace to use if not provided as an option diff --git a/runtime/local/process/os/os.go b/runtime/local/process/os/os.go index 92d823c4..8c0f9781 100644 --- a/runtime/local/process/os/os.go +++ b/runtime/local/process/os/os.go @@ -10,7 +10,7 @@ import ( "strconv" "syscall" - "github.com/micro/go-micro/v3/runtime/local/process" + "github.com/asim/go-micro/v3/runtime/local/process" ) func (p *Process) Exec(exe *process.Binary) error { diff --git a/runtime/local/process/os/os_windows.go b/runtime/local/process/os/os_windows.go index 9925d6b5..d23b229d 100644 --- a/runtime/local/process/os/os_windows.go +++ b/runtime/local/process/os/os_windows.go @@ -7,7 +7,7 @@ import ( "os/exec" "strconv" - "github.com/micro/go-micro/v3/runtime/local/process" + "github.com/asim/go-micro/v3/runtime/local/process" ) func (p *Process) Exec(exe *process.Binary) error { diff --git a/runtime/local/process/os/process.go b/runtime/local/process/os/process.go index 0d6b10be..614b5ae2 100644 --- a/runtime/local/process/os/process.go +++ b/runtime/local/process/os/process.go @@ -2,7 +2,7 @@ package os import ( - "github.com/micro/go-micro/v3/runtime/local/process" + "github.com/asim/go-micro/v3/runtime/local/process" ) type Process struct{} diff --git a/runtime/local/process/process.go b/runtime/local/process/process.go index 4b9b0dde..24d7c932 100644 --- a/runtime/local/process/process.go +++ b/runtime/local/process/process.go @@ -4,7 +4,7 @@ package process import ( "io" - "github.com/micro/go-micro/v3/build" + "github.com/asim/go-micro/v3/build" ) // Process manages a running process diff --git a/runtime/local/service.go b/runtime/local/service.go index 4701923b..62bdb9c2 100644 --- a/runtime/local/service.go +++ b/runtime/local/service.go @@ -8,11 +8,11 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/build" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/runtime" - "github.com/micro/go-micro/v3/runtime/local/process" - proc "github.com/micro/go-micro/v3/runtime/local/process/os" + "github.com/asim/go-micro/v3/build" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/runtime" + "github.com/asim/go-micro/v3/runtime/local/process" + proc "github.com/asim/go-micro/v3/runtime/local/process/os" ) type service struct { diff --git a/runtime/local/source/go/golang.go b/runtime/local/source/go/golang.go index 0cb0dc5f..0e34b50b 100644 --- a/runtime/local/source/go/golang.go +++ b/runtime/local/source/go/golang.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "github.com/micro/go-micro/v3/runtime/local/source" + "github.com/asim/go-micro/v3/runtime/local/source" ) type Source struct { diff --git a/runtime/options.go b/runtime/options.go index d460460c..05950f8a 100644 --- a/runtime/options.go +++ b/runtime/options.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/micro/go-micro/v3/client" + "github.com/asim/go-micro/v3/client" ) type Option func(o *Options) diff --git a/selector/random/random.go b/selector/random/random.go index a8ab7461..f46540c3 100644 --- a/selector/random/random.go +++ b/selector/random/random.go @@ -3,7 +3,7 @@ package random import ( "math/rand" - "github.com/micro/go-micro/v3/selector" + "github.com/asim/go-micro/v3/selector" ) type random struct{} diff --git a/selector/random/random_test.go b/selector/random/random_test.go index 66da138c..77e366e7 100644 --- a/selector/random/random_test.go +++ b/selector/random/random_test.go @@ -3,7 +3,7 @@ package random import ( "testing" - "github.com/micro/go-micro/v3/selector" + "github.com/asim/go-micro/v3/selector" ) func TestRandom(t *testing.T) { diff --git a/selector/roundrobin/roundrobin.go b/selector/roundrobin/roundrobin.go index 10d8d873..4205db54 100644 --- a/selector/roundrobin/roundrobin.go +++ b/selector/roundrobin/roundrobin.go @@ -1,7 +1,7 @@ package roundrobin import ( - "github.com/micro/go-micro/v3/selector" + "github.com/asim/go-micro/v3/selector" ) // NewSelector returns an initalised round robin selector diff --git a/selector/roundrobin/roundrobin_test.go b/selector/roundrobin/roundrobin_test.go index 48bf8528..a04f72ec 100644 --- a/selector/roundrobin/roundrobin_test.go +++ b/selector/roundrobin/roundrobin_test.go @@ -3,7 +3,7 @@ package roundrobin import ( "testing" - "github.com/micro/go-micro/v3/selector" + "github.com/asim/go-micro/v3/selector" "github.com/stretchr/testify/assert" ) diff --git a/server/grpc/README.md b/server/grpc/README.md index d53fc58d..b8faeb96 100644 --- a/server/grpc/README.md +++ b/server/grpc/README.md @@ -1,6 +1,6 @@ # GRPC Server -The grpc server is a [micro.Server](https://godoc.org/github.com/micro/go-micro/server#Server) compatible server. +The grpc server is a [micro.Server](https://godoc.org/github.com/asim/go-micro/server#Server) compatible server. ## Overview @@ -13,7 +13,7 @@ Specify the server to your micro service ```go import ( - "github.com/micro/go-micro" + "github.com/asim/go-micro" "github.com/micro/go-plugins/server/grpc" ) diff --git a/server/grpc/codec.go b/server/grpc/codec.go index 89597f07..3a8c6c8d 100644 --- a/server/grpc/codec.go +++ b/server/grpc/codec.go @@ -6,10 +6,10 @@ import ( b "bytes" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec/bytes" "github.com/golang/protobuf/jsonpb" "github.com/golang/protobuf/proto" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/codec/bytes" "google.golang.org/grpc" "google.golang.org/grpc/encoding" "google.golang.org/grpc/metadata" diff --git a/server/grpc/context.go b/server/grpc/context.go index fe8ac3d7..00b9bbdc 100644 --- a/server/grpc/context.go +++ b/server/grpc/context.go @@ -3,7 +3,7 @@ package grpc import ( "context" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/server" ) func setServerOption(k, v interface{}) server.Option { diff --git a/server/grpc/error.go b/server/grpc/error.go index 22a42b8b..75ab3235 100644 --- a/server/grpc/error.go +++ b/server/grpc/error.go @@ -3,7 +3,7 @@ package grpc import ( "net/http" - "github.com/micro/go-micro/v3/errors" + "github.com/asim/go-micro/v3/errors" "google.golang.org/grpc/codes" ) diff --git a/server/grpc/extractor.go b/server/grpc/extractor.go index d1d9d0ff..6ab7b7de 100644 --- a/server/grpc/extractor.go +++ b/server/grpc/extractor.go @@ -5,7 +5,7 @@ import ( "reflect" "strings" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) func extractValue(v reflect.Type, d int) *registry.Value { diff --git a/server/grpc/extractor_test.go b/server/grpc/extractor_test.go index 9eac7606..d82daebf 100644 --- a/server/grpc/extractor_test.go +++ b/server/grpc/extractor_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) type testHandler struct{} diff --git a/server/grpc/grpc.go b/server/grpc/grpc.go index 11724ca4..c3922c75 100644 --- a/server/grpc/grpc.go +++ b/server/grpc/grpc.go @@ -14,18 +14,18 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/errors" + pberr "github.com/asim/go-micro/v3/errors/proto" + "github.com/asim/go-micro/v3/logger" + meta "github.com/asim/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/server" + "github.com/asim/go-micro/v3/util/addr" + "github.com/asim/go-micro/v3/util/backoff" + mgrpc "github.com/asim/go-micro/v3/util/grpc" + mnet "github.com/asim/go-micro/v3/util/net" "github.com/golang/protobuf/proto" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/errors" - pberr "github.com/micro/go-micro/v3/errors/proto" - "github.com/micro/go-micro/v3/logger" - meta "github.com/micro/go-micro/v3/metadata" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/server" - "github.com/micro/go-micro/v3/util/addr" - "github.com/micro/go-micro/v3/util/backoff" - mgrpc "github.com/micro/go-micro/v3/util/grpc" - mnet "github.com/micro/go-micro/v3/util/net" "golang.org/x/net/netutil" "google.golang.org/grpc" diff --git a/server/grpc/grpc_test.go b/server/grpc/grpc_test.go index dbe157a8..cbbfd4cd 100644 --- a/server/grpc/grpc_test.go +++ b/server/grpc/grpc_test.go @@ -5,18 +5,18 @@ import ( "fmt" "testing" - bmemory "github.com/micro/go-micro/v3/broker/memory" - "github.com/micro/go-micro/v3/client" - gcli "github.com/micro/go-micro/v3/client/grpc" - "github.com/micro/go-micro/v3/errors" - pberr "github.com/micro/go-micro/v3/errors/proto" - tgrpc "github.com/micro/go-micro/v3/network/transport/grpc" - rmemory "github.com/micro/go-micro/v3/registry/memory" - "github.com/micro/go-micro/v3/router" - rtreg "github.com/micro/go-micro/v3/router/registry" - "github.com/micro/go-micro/v3/server" - gsrv "github.com/micro/go-micro/v3/server/grpc" - pb "github.com/micro/go-micro/v3/server/grpc/proto" + bmemory "github.com/asim/go-micro/v3/broker/memory" + "github.com/asim/go-micro/v3/client" + gcli "github.com/asim/go-micro/v3/client/grpc" + "github.com/asim/go-micro/v3/errors" + pberr "github.com/asim/go-micro/v3/errors/proto" + tgrpc "github.com/asim/go-micro/v3/network/transport/grpc" + rmemory "github.com/asim/go-micro/v3/registry/memory" + "github.com/asim/go-micro/v3/router" + rtreg "github.com/asim/go-micro/v3/router/registry" + "github.com/asim/go-micro/v3/server" + gsrv "github.com/asim/go-micro/v3/server/grpc" + pb "github.com/asim/go-micro/v3/server/grpc/proto" "google.golang.org/grpc" "google.golang.org/grpc/status" ) diff --git a/server/grpc/handler.go b/server/grpc/handler.go index 9e701c72..391876ec 100644 --- a/server/grpc/handler.go +++ b/server/grpc/handler.go @@ -3,8 +3,8 @@ package grpc import ( "reflect" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/server" ) type rpcHandler struct { diff --git a/server/grpc/options.go b/server/grpc/options.go index d5bd36d5..22e5313e 100644 --- a/server/grpc/options.go +++ b/server/grpc/options.go @@ -5,10 +5,10 @@ import ( "crypto/tls" "net" - "github.com/micro/go-micro/v3/broker/http" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/registry/mdns" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/broker/http" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/registry/mdns" + "github.com/asim/go-micro/v3/server" "google.golang.org/grpc" "google.golang.org/grpc/encoding" ) diff --git a/server/grpc/proto/test.pb.micro.go b/server/grpc/proto/test.pb.micro.go index 1f636854..2654d171 100644 --- a/server/grpc/proto/test.pb.micro.go +++ b/server/grpc/proto/test.pb.micro.go @@ -12,9 +12,9 @@ import ( import ( context "context" - api "github.com/micro/go-micro/v3/api" - client "github.com/micro/go-micro/v3/client" - server "github.com/micro/go-micro/v3/server" + api "github.com/asim/go-micro/v3/api" + client "github.com/asim/go-micro/v3/client" + server "github.com/asim/go-micro/v3/server" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/server/grpc/request.go b/server/grpc/request.go index 437d0ed6..015ecd0b 100644 --- a/server/grpc/request.go +++ b/server/grpc/request.go @@ -1,8 +1,8 @@ package grpc import ( - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec/bytes" ) type rpcRequest struct { diff --git a/server/grpc/response.go b/server/grpc/response.go index d78ec442..f0a141f0 100644 --- a/server/grpc/response.go +++ b/server/grpc/response.go @@ -1,7 +1,7 @@ package grpc import ( - "github.com/micro/go-micro/v3/codec" + "github.com/asim/go-micro/v3/codec" ) type rpcResponse struct { diff --git a/server/grpc/server.go b/server/grpc/server.go index 5a7d2a0b..479430b0 100644 --- a/server/grpc/server.go +++ b/server/grpc/server.go @@ -14,8 +14,8 @@ import ( "unicode" "unicode/utf8" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/server" ) var ( diff --git a/server/grpc/stream.go b/server/grpc/stream.go index adb22936..5af45c98 100644 --- a/server/grpc/stream.go +++ b/server/grpc/stream.go @@ -3,7 +3,7 @@ package grpc import ( "context" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/server" "google.golang.org/grpc" ) diff --git a/server/grpc/subscriber.go b/server/grpc/subscriber.go index d69379ac..fd9da0bb 100644 --- a/server/grpc/subscriber.go +++ b/server/grpc/subscriber.go @@ -7,12 +7,12 @@ import ( "runtime/debug" "strings" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/metadata" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/server" ) const ( diff --git a/server/mock/mock.go b/server/mock/mock.go index dc4bff30..84e9a2bc 100644 --- a/server/mock/mock.go +++ b/server/mock/mock.go @@ -4,8 +4,8 @@ import ( "errors" "sync" + "github.com/asim/go-micro/v3/server" "github.com/google/uuid" - "github.com/micro/go-micro/v3/server" ) type MockServer struct { diff --git a/server/mock/mock_handler.go b/server/mock/mock_handler.go index 1b194b64..33e93243 100644 --- a/server/mock/mock_handler.go +++ b/server/mock/mock_handler.go @@ -1,8 +1,8 @@ package mock import ( - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/server" ) type MockHandler struct { diff --git a/server/mock/mock_subscriber.go b/server/mock/mock_subscriber.go index e6f47a22..d879fe48 100644 --- a/server/mock/mock_subscriber.go +++ b/server/mock/mock_subscriber.go @@ -1,8 +1,8 @@ package mock import ( - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/server" ) type MockSubscriber struct { diff --git a/server/mock/mock_test.go b/server/mock/mock_test.go index a3d537ca..ae8ec862 100644 --- a/server/mock/mock_test.go +++ b/server/mock/mock_test.go @@ -3,7 +3,7 @@ package mock import ( "testing" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/server" ) func TestMockServer(t *testing.T) { diff --git a/server/mucp/extractor.go b/server/mucp/extractor.go index 338a5a0d..3bdfcf7f 100644 --- a/server/mucp/extractor.go +++ b/server/mucp/extractor.go @@ -5,7 +5,7 @@ import ( "reflect" "strings" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) func extractValue(v reflect.Type, d int) *registry.Value { diff --git a/server/mucp/extractor_test.go b/server/mucp/extractor_test.go index d8bd914f..ff31d21e 100644 --- a/server/mucp/extractor_test.go +++ b/server/mucp/extractor_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) type testHandler struct{} diff --git a/server/mucp/mucp.go b/server/mucp/mucp.go index c8ae73f2..b63bbbf8 100644 --- a/server/mucp/mucp.go +++ b/server/mucp/mucp.go @@ -2,7 +2,7 @@ package mucp import ( - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/server" ) var ( diff --git a/server/mucp/options.go b/server/mucp/options.go index e61d53c3..adaecd0b 100644 --- a/server/mucp/options.go +++ b/server/mucp/options.go @@ -1,11 +1,11 @@ package mucp import ( - "github.com/micro/go-micro/v3/broker/http" - "github.com/micro/go-micro/v3/codec" - thttp "github.com/micro/go-micro/v3/network/transport/http" - "github.com/micro/go-micro/v3/registry/mdns" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/broker/http" + "github.com/asim/go-micro/v3/codec" + thttp "github.com/asim/go-micro/v3/network/transport/http" + "github.com/asim/go-micro/v3/registry/mdns" + "github.com/asim/go-micro/v3/server" ) func newOptions(opt ...server.Option) server.Options { diff --git a/server/mucp/rpc_codec.go b/server/mucp/rpc_codec.go index d431484a..aca0f889 100644 --- a/server/mucp/rpc_codec.go +++ b/server/mucp/rpc_codec.go @@ -4,14 +4,14 @@ import ( "bytes" "sync" - "github.com/micro/go-micro/v3/codec" - raw "github.com/micro/go-micro/v3/codec/bytes" - "github.com/micro/go-micro/v3/codec/grpc" - "github.com/micro/go-micro/v3/codec/json" - "github.com/micro/go-micro/v3/codec/jsonrpc" - "github.com/micro/go-micro/v3/codec/proto" - "github.com/micro/go-micro/v3/codec/protorpc" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/codec" + raw "github.com/asim/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/codec/grpc" + "github.com/asim/go-micro/v3/codec/json" + "github.com/asim/go-micro/v3/codec/jsonrpc" + "github.com/asim/go-micro/v3/codec/proto" + "github.com/asim/go-micro/v3/codec/protorpc" + "github.com/asim/go-micro/v3/network/transport" "github.com/oxtoacart/bpool" "github.com/pkg/errors" ) diff --git a/server/mucp/rpc_codec_test.go b/server/mucp/rpc_codec_test.go index 0f4c5a89..8cea6d35 100644 --- a/server/mucp/rpc_codec_test.go +++ b/server/mucp/rpc_codec_test.go @@ -5,8 +5,8 @@ import ( "errors" "testing" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/network/transport" ) // testCodec is a dummy codec that only knows how to encode nil bodies diff --git a/server/mucp/rpc_handler.go b/server/mucp/rpc_handler.go index 194ee439..c1245ff2 100644 --- a/server/mucp/rpc_handler.go +++ b/server/mucp/rpc_handler.go @@ -3,8 +3,8 @@ package mucp import ( "reflect" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/server" ) type rpcHandler struct { diff --git a/server/mucp/rpc_request.go b/server/mucp/rpc_request.go index b9fce65d..348a291a 100644 --- a/server/mucp/rpc_request.go +++ b/server/mucp/rpc_request.go @@ -3,9 +3,9 @@ package mucp import ( "bytes" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/util/buf" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/util/buf" ) type rpcRequest struct { diff --git a/server/mucp/rpc_response.go b/server/mucp/rpc_response.go index 6e07548b..9cad5a0d 100644 --- a/server/mucp/rpc_response.go +++ b/server/mucp/rpc_response.go @@ -3,8 +3,8 @@ package mucp import ( "net/http" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/network/transport" ) type rpcResponse struct { diff --git a/server/mucp/rpc_router.go b/server/mucp/rpc_router.go index d527f3f6..653724c3 100644 --- a/server/mucp/rpc_router.go +++ b/server/mucp/rpc_router.go @@ -18,9 +18,9 @@ import ( "unicode" "unicode/utf8" - "github.com/micro/go-micro/v3/codec" - merrors "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/codec" + merrors "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/server" ) var ( diff --git a/server/mucp/rpc_server.go b/server/mucp/rpc_server.go index 1e0f661a..d957232c 100644 --- a/server/mucp/rpc_server.go +++ b/server/mucp/rpc_server.go @@ -12,18 +12,18 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/codec" - raw "github.com/micro/go-micro/v3/codec/bytes" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/metadata" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/server" - "github.com/micro/go-micro/v3/util/addr" - "github.com/micro/go-micro/v3/util/backoff" - mnet "github.com/micro/go-micro/v3/util/net" - "github.com/micro/go-micro/v3/util/socket" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/codec" + raw "github.com/asim/go-micro/v3/codec/bytes" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/server" + "github.com/asim/go-micro/v3/util/addr" + "github.com/asim/go-micro/v3/util/backoff" + mnet "github.com/asim/go-micro/v3/util/net" + "github.com/asim/go-micro/v3/util/socket" ) type rpcServer struct { diff --git a/server/mucp/rpc_stream.go b/server/mucp/rpc_stream.go index ce032caa..5306f90f 100644 --- a/server/mucp/rpc_stream.go +++ b/server/mucp/rpc_stream.go @@ -6,8 +6,8 @@ import ( "io" "sync" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/server" ) // Implements the Streamer interface diff --git a/server/mucp/rpc_stream_test.go b/server/mucp/rpc_stream_test.go index c7bdb0f7..3e9f8c86 100644 --- a/server/mucp/rpc_stream_test.go +++ b/server/mucp/rpc_stream_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" + "github.com/asim/go-micro/v3/codec/json" + protoCodec "github.com/asim/go-micro/v3/codec/proto" "github.com/golang/protobuf/proto" - "github.com/micro/go-micro/v3/codec/json" - protoCodec "github.com/micro/go-micro/v3/codec/proto" ) // protoStruct implements proto.Message diff --git a/server/mucp/subscriber.go b/server/mucp/subscriber.go index 94419a0e..2d35542e 100644 --- a/server/mucp/subscriber.go +++ b/server/mucp/subscriber.go @@ -4,10 +4,10 @@ import ( "fmt" "reflect" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/server" ) const ( diff --git a/server/options.go b/server/options.go index 39bc490e..571c06bf 100644 --- a/server/options.go +++ b/server/options.go @@ -6,15 +6,15 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/auth" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/broker/http" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/debug/trace" - "github.com/micro/go-micro/v3/network/transport" - thttp "github.com/micro/go-micro/v3/network/transport/http" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/mdns" + "github.com/asim/go-micro/v3/auth" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/broker/http" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/debug/trace" + "github.com/asim/go-micro/v3/network/transport" + thttp "github.com/asim/go-micro/v3/network/transport/http" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/mdns" ) type Options struct { diff --git a/server/server.go b/server/server.go index c70656d6..4c21990b 100644 --- a/server/server.go +++ b/server/server.go @@ -5,9 +5,9 @@ import ( "context" "time" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/registry" "github.com/google/uuid" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/registry" ) // Server is a simple micro server abstraction diff --git a/service/grpc/grpc.go b/service/grpc/grpc.go index 243e5ae2..b1ad52e2 100644 --- a/service/grpc/grpc.go +++ b/service/grpc/grpc.go @@ -1,12 +1,12 @@ package grpc import ( - "github.com/micro/go-micro/v3/client" - gclient "github.com/micro/go-micro/v3/client/grpc" - "github.com/micro/go-micro/v3/model" - "github.com/micro/go-micro/v3/server" - gserver "github.com/micro/go-micro/v3/server/grpc" - "github.com/micro/go-micro/v3/service" + "github.com/asim/go-micro/v3/client" + gclient "github.com/asim/go-micro/v3/client/grpc" + "github.com/asim/go-micro/v3/model" + "github.com/asim/go-micro/v3/server" + gserver "github.com/asim/go-micro/v3/server/grpc" + "github.com/asim/go-micro/v3/service" ) type grpcService struct { diff --git a/service/grpc/grpc_test.go b/service/grpc/grpc_test.go index faf15336..7bd84d36 100644 --- a/service/grpc/grpc_test.go +++ b/service/grpc/grpc_test.go @@ -7,10 +7,10 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/registry/memory" - "github.com/micro/go-micro/v3/service" - hello "github.com/micro/go-micro/v3/service/grpc/proto" - mls "github.com/micro/go-micro/v3/util/tls" + "github.com/asim/go-micro/v3/registry/memory" + "github.com/asim/go-micro/v3/service" + hello "github.com/asim/go-micro/v3/service/grpc/proto" + mls "github.com/asim/go-micro/v3/util/tls" ) type testHandler struct{} diff --git a/service/grpc/options.go b/service/grpc/options.go index 4aa088b2..4dafe0e1 100644 --- a/service/grpc/options.go +++ b/service/grpc/options.go @@ -3,9 +3,9 @@ package grpc import ( "crypto/tls" - gc "github.com/micro/go-micro/v3/client/grpc" - gs "github.com/micro/go-micro/v3/server/grpc" - "github.com/micro/go-micro/v3/service" + gc "github.com/asim/go-micro/v3/client/grpc" + gs "github.com/asim/go-micro/v3/server/grpc" + "github.com/asim/go-micro/v3/service" ) // WithTLS sets the TLS config for the service diff --git a/service/grpc/proto/test.pb.micro.go b/service/grpc/proto/test.pb.micro.go index e35dbeff..ebfb7cf0 100644 --- a/service/grpc/proto/test.pb.micro.go +++ b/service/grpc/proto/test.pb.micro.go @@ -11,9 +11,9 @@ import ( import ( context "context" - api "github.com/micro/go-micro/v3/api" - client "github.com/micro/go-micro/v3/client" - server "github.com/micro/go-micro/v3/server" + api "github.com/asim/go-micro/v3/api" + client "github.com/asim/go-micro/v3/client" + server "github.com/asim/go-micro/v3/server" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/service/mucp/mucp.go b/service/mucp/mucp.go index 38093069..78679f79 100644 --- a/service/mucp/mucp.go +++ b/service/mucp/mucp.go @@ -2,12 +2,12 @@ package mucp import ( - "github.com/micro/go-micro/v3/client" - cmucp "github.com/micro/go-micro/v3/client/mucp" - "github.com/micro/go-micro/v3/model" - "github.com/micro/go-micro/v3/server" - smucp "github.com/micro/go-micro/v3/server/mucp" - "github.com/micro/go-micro/v3/service" + "github.com/asim/go-micro/v3/client" + cmucp "github.com/asim/go-micro/v3/client/mucp" + "github.com/asim/go-micro/v3/model" + "github.com/asim/go-micro/v3/server" + smucp "github.com/asim/go-micro/v3/server/mucp" + "github.com/asim/go-micro/v3/service" ) type mucpService struct { diff --git a/service/options.go b/service/options.go index 06d2b019..4c336f81 100644 --- a/service/options.go +++ b/service/options.go @@ -4,15 +4,15 @@ import ( "context" "time" - "github.com/micro/go-micro/v3/broker" - "github.com/micro/go-micro/v3/broker/http" - "github.com/micro/go-micro/v3/client" - mucpClient "github.com/micro/go-micro/v3/client/mucp" - "github.com/micro/go-micro/v3/model" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/mdns" - "github.com/micro/go-micro/v3/server" - mucpServer "github.com/micro/go-micro/v3/server/mucp" + "github.com/asim/go-micro/v3/broker" + "github.com/asim/go-micro/v3/broker/http" + "github.com/asim/go-micro/v3/client" + mucpClient "github.com/asim/go-micro/v3/client/mucp" + "github.com/asim/go-micro/v3/model" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/mdns" + "github.com/asim/go-micro/v3/server" + mucpServer "github.com/asim/go-micro/v3/server/mucp" ) type Options struct { diff --git a/service/service.go b/service/service.go index c9ad69f5..fe0988aa 100644 --- a/service/service.go +++ b/service/service.go @@ -2,9 +2,9 @@ package service import ( - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/model" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/model" + "github.com/asim/go-micro/v3/server" ) // Service is an interface for a micro service diff --git a/store/cache/cache.go b/store/cache/cache.go index 775f4096..d1ece134 100644 --- a/store/cache/cache.go +++ b/store/cache/cache.go @@ -1,8 +1,8 @@ package cache import ( - "github.com/micro/go-micro/v3/store" - "github.com/micro/go-micro/v3/store/memory" + "github.com/asim/go-micro/v3/store" + "github.com/asim/go-micro/v3/store/memory" ) // cache store is a store with caching to reduce IO where applicable. diff --git a/store/cache/cache_test.go b/store/cache/cache_test.go index a46506b4..4d07748f 100644 --- a/store/cache/cache_test.go +++ b/store/cache/cache_test.go @@ -3,8 +3,8 @@ package cache import ( "testing" - "github.com/micro/go-micro/v3/store" - "github.com/micro/go-micro/v3/store/memory" + "github.com/asim/go-micro/v3/store" + "github.com/asim/go-micro/v3/store/memory" "github.com/stretchr/testify/assert" ) diff --git a/store/memory/memory.go b/store/memory/memory.go index 66b8ef2d..2dfc6c88 100644 --- a/store/memory/memory.go +++ b/store/memory/memory.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "github.com/micro/go-micro/v3/store" + "github.com/asim/go-micro/v3/store" "github.com/patrickmn/go-cache" "github.com/pkg/errors" ) diff --git a/store/test/store_test.go b/store/test/store_test.go index 78546d69..bb15dd80 100644 --- a/store/test/store_test.go +++ b/store/test/store_test.go @@ -9,11 +9,11 @@ import ( "testing" "time" + "github.com/asim/go-micro/v3/store" + "github.com/asim/go-micro/v3/store/cache" + "github.com/asim/go-micro/v3/store/memory" "github.com/davecgh/go-spew/spew" "github.com/kr/pretty" - "github.com/micro/go-micro/v3/store" - "github.com/micro/go-micro/v3/store/cache" - "github.com/micro/go-micro/v3/store/memory" ) func memoryCleanup(db string, s store.Store) { diff --git a/sync/memory/memory.go b/sync/memory/memory.go index 1f201b20..aa6ab2fc 100644 --- a/sync/memory/memory.go +++ b/sync/memory/memory.go @@ -5,7 +5,7 @@ import ( gosync "sync" "time" - "github.com/micro/go-micro/v3/sync" + "github.com/asim/go-micro/v3/sync" ) type memorySync struct { diff --git a/util/auth/auth.go b/util/auth/auth.go index 07eea23a..014940de 100644 --- a/util/auth/auth.go +++ b/util/auth/auth.go @@ -3,9 +3,9 @@ package auth import ( "time" + "github.com/asim/go-micro/v3/auth" + "github.com/asim/go-micro/v3/logger" "github.com/google/uuid" - "github.com/micro/go-micro/v3/auth" - "github.com/micro/go-micro/v3/logger" ) // Verify the auth credentials and refresh the auth token periodically diff --git a/util/client/client.go b/util/client/client.go index 284d801e..d5771de6 100644 --- a/util/client/client.go +++ b/util/client/client.go @@ -3,7 +3,7 @@ package client import ( "context" - "github.com/micro/go-micro/v3/client" + "github.com/asim/go-micro/v3/client" ) type staticClient struct { diff --git a/util/client/client_test.go b/util/client/client_test.go index c13ca2bd..2935b873 100644 --- a/util/client/client_test.go +++ b/util/client/client_test.go @@ -4,17 +4,17 @@ import ( "context" "testing" - "github.com/micro/go-micro/v3/broker" - bmemory "github.com/micro/go-micro/v3/broker/memory" - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/client/grpc" - tmemory "github.com/micro/go-micro/v3/network/transport/memory" - rmemory "github.com/micro/go-micro/v3/registry/memory" - "github.com/micro/go-micro/v3/router" - rtreg "github.com/micro/go-micro/v3/router/registry" - "github.com/micro/go-micro/v3/server" - grpcsrv "github.com/micro/go-micro/v3/server/grpc" - cw "github.com/micro/go-micro/v3/util/client" + "github.com/asim/go-micro/v3/broker" + bmemory "github.com/asim/go-micro/v3/broker/memory" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/client/grpc" + tmemory "github.com/asim/go-micro/v3/network/transport/memory" + rmemory "github.com/asim/go-micro/v3/registry/memory" + "github.com/asim/go-micro/v3/router" + rtreg "github.com/asim/go-micro/v3/router/registry" + "github.com/asim/go-micro/v3/server" + grpcsrv "github.com/asim/go-micro/v3/server/grpc" + cw "github.com/asim/go-micro/v3/util/client" ) type TestFoo struct { diff --git a/util/ctx/ctx.go b/util/ctx/ctx.go index c28e30a4..3c78ef6d 100644 --- a/util/ctx/ctx.go +++ b/util/ctx/ctx.go @@ -6,7 +6,7 @@ import ( "net/textproto" "strings" - "github.com/micro/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/metadata" ) func FromRequest(r *http.Request) context.Context { diff --git a/util/ctx/ctx_test.go b/util/ctx/ctx_test.go index 8e28a4cc..a150e91a 100644 --- a/util/ctx/ctx_test.go +++ b/util/ctx/ctx_test.go @@ -4,7 +4,7 @@ import ( "net/http" "testing" - "github.com/micro/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/metadata" ) func TestRequestToContext(t *testing.T) { diff --git a/util/file/client.go b/util/file/client.go index c0db8625..f6371d68 100644 --- a/util/file/client.go +++ b/util/file/client.go @@ -9,8 +9,8 @@ import ( "log" "os" - "github.com/micro/go-micro/v3/client" - proto "github.com/micro/go-micro/v3/util/file/proto" + "github.com/asim/go-micro/v3/client" + proto "github.com/asim/go-micro/v3/util/file/proto" ) // Client is the client interface to access files diff --git a/util/file/handler.go b/util/file/handler.go index 2d0c1669..b4f98701 100644 --- a/util/file/handler.go +++ b/util/file/handler.go @@ -6,10 +6,10 @@ import ( "path/filepath" "sync" - "github.com/micro/go-micro/v3/errors" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/server" - proto "github.com/micro/go-micro/v3/util/file/proto" + "github.com/asim/go-micro/v3/errors" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/server" + proto "github.com/asim/go-micro/v3/util/file/proto" "golang.org/x/net/context" ) diff --git a/util/file/proto/file.pb.micro.go b/util/file/proto/file.pb.micro.go index b5ed664e..d930dba3 100644 --- a/util/file/proto/file.pb.micro.go +++ b/util/file/proto/file.pb.micro.go @@ -11,9 +11,9 @@ import ( import ( context "context" - api "github.com/micro/go-micro/v3/api" - client "github.com/micro/go-micro/v3/client" - server "github.com/micro/go-micro/v3/server" + api "github.com/asim/go-micro/v3/api" + client "github.com/asim/go-micro/v3/client" + server "github.com/asim/go-micro/v3/server" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/util/http/http.go b/util/http/http.go index 1cf0cfbc..ed6a9f59 100644 --- a/util/http/http.go +++ b/util/http/http.go @@ -8,9 +8,9 @@ import ( "net/http" "strings" - "github.com/micro/go-micro/v3/metadata" - "github.com/micro/go-micro/v3/router/registry" - "github.com/micro/go-micro/v3/selector/random" + "github.com/asim/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/router/registry" + "github.com/asim/go-micro/v3/selector/random" ) // Write sets the status and body on a http ResponseWriter diff --git a/util/http/http_test.go b/util/http/http_test.go index 7d659f9a..107bd45d 100644 --- a/util/http/http_test.go +++ b/util/http/http_test.go @@ -6,10 +6,10 @@ import ( "net/http" "testing" - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/registry/memory" - "github.com/micro/go-micro/v3/router" - regRouter "github.com/micro/go-micro/v3/router/registry" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry/memory" + "github.com/asim/go-micro/v3/router" + regRouter "github.com/asim/go-micro/v3/router/registry" ) func TestRoundTripper(t *testing.T) { diff --git a/util/http/options.go b/util/http/options.go index d7b8d6b8..df9007de 100644 --- a/util/http/options.go +++ b/util/http/options.go @@ -1,6 +1,6 @@ package http -import "github.com/micro/go-micro/v3/router" +import "github.com/asim/go-micro/v3/router" type Options struct { Router router.Router diff --git a/util/http/roundtripper.go b/util/http/roundtripper.go index 6e387ca7..8a9856d2 100644 --- a/util/http/roundtripper.go +++ b/util/http/roundtripper.go @@ -4,7 +4,7 @@ import ( "errors" "net/http" - "github.com/micro/go-micro/v3/selector" + "github.com/asim/go-micro/v3/selector" ) type roundTripper struct { diff --git a/util/io/io.go b/util/io/io.go index c7e0d07f..590501c8 100644 --- a/util/io/io.go +++ b/util/io/io.go @@ -4,7 +4,7 @@ package io import ( "io" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport" ) type rwc struct { diff --git a/util/kubernetes/api/request.go b/util/kubernetes/api/request.go index 5f9fbb3f..02abe7a6 100644 --- a/util/kubernetes/api/request.go +++ b/util/kubernetes/api/request.go @@ -10,7 +10,7 @@ import ( "net/http" "net/url" - "github.com/micro/go-micro/v3/logger" + "github.com/asim/go-micro/v3/logger" ) // Request is used to construct a http request for the k8s API. diff --git a/util/kubernetes/client/client.go b/util/kubernetes/client/client.go index 9214e766..419a0dfa 100644 --- a/util/kubernetes/client/client.go +++ b/util/kubernetes/client/client.go @@ -15,9 +15,9 @@ import ( "strconv" "strings" - "github.com/micro/go-micro/v3/logger" - "github.com/micro/go-micro/v3/runtime" - "github.com/micro/go-micro/v3/util/kubernetes/api" + "github.com/asim/go-micro/v3/logger" + "github.com/asim/go-micro/v3/runtime" + "github.com/asim/go-micro/v3/util/kubernetes/api" ) var ( diff --git a/util/kubernetes/client/util_test.go b/util/kubernetes/client/util_test.go index 60b783b1..46b2cd37 100644 --- a/util/kubernetes/client/util_test.go +++ b/util/kubernetes/client/util_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/micro/go-micro/v3/runtime" + "github.com/asim/go-micro/v3/runtime" ) func TestTemplates(t *testing.T) { diff --git a/util/kubernetes/client/watch.go b/util/kubernetes/client/watch.go index 81999209..fb2e0eca 100644 --- a/util/kubernetes/client/watch.go +++ b/util/kubernetes/client/watch.go @@ -7,7 +7,7 @@ import ( "errors" "net/http" - "github.com/micro/go-micro/v3/util/kubernetes/api" + "github.com/asim/go-micro/v3/util/kubernetes/api" ) const ( diff --git a/util/log/README.md b/util/log/README.md index e59e305d..d0bcea53 100644 --- a/util/log/README.md +++ b/util/log/README.md @@ -1,6 +1,6 @@ # Log -DEPRECATED: use github.com/micro/go-micro/v3/logger interface +DEPRECATED: use github.com/asim/go-micro/v3/logger interface This is the global logger for all micro based libraries. @@ -10,8 +10,8 @@ Set the logger for micro libraries ```go // import go-micro/util/log -import "github.com/micro/go-micro/util/log" +import "github.com/asim/go-micro/util/log" -// SetLogger expects github.com/micro/go-micro/debug/log.Log interface +// SetLogger expects github.com/asim/go-micro/debug/log.Log interface log.SetLogger(mylogger) ``` diff --git a/util/log/log.go b/util/log/log.go index feaad059..b2d78ee0 100644 --- a/util/log/log.go +++ b/util/log/log.go @@ -1,5 +1,5 @@ // Package log is a global internal logger -// DEPRECATED: this is frozen package, use github.com/micro/go-micro/v3/logger +// DEPRECATED: this is frozen package, use github.com/asim/go-micro/v3/logger package log import ( @@ -7,8 +7,8 @@ import ( "os" "sync/atomic" - dlog "github.com/micro/go-micro/v3/debug/log" - nlog "github.com/micro/go-micro/v3/logger" + dlog "github.com/asim/go-micro/v3/debug/log" + nlog "github.com/asim/go-micro/v3/logger" ) // level is a log level diff --git a/util/mdns/server.go b/util/mdns/server.go index cdc2695b..531b2e55 100644 --- a/util/mdns/server.go +++ b/util/mdns/server.go @@ -8,7 +8,7 @@ import ( "sync/atomic" "time" - log "github.com/micro/go-micro/v3/logger" + log "github.com/asim/go-micro/v3/logger" "github.com/miekg/dns" "golang.org/x/net/ipv4" "golang.org/x/net/ipv6" diff --git a/util/plugin/template.go b/util/plugin/template.go index 5f8035e2..7c74340f 100644 --- a/util/plugin/template.go +++ b/util/plugin/template.go @@ -5,7 +5,7 @@ var ( package main import ( - "github.com/micro/go-micro/v3/plugin" + "github.com/asim/go-micro/v3/plugin" "{{.Path}}" ) diff --git a/util/pool/default.go b/util/pool/default.go index bcf4c562..486d321c 100644 --- a/util/pool/default.go +++ b/util/pool/default.go @@ -4,8 +4,8 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/network/transport" "github.com/google/uuid" - "github.com/micro/go-micro/v3/network/transport" ) type pool struct { diff --git a/util/pool/default_test.go b/util/pool/default_test.go index bcc7ecc2..bfeaf7bf 100644 --- a/util/pool/default_test.go +++ b/util/pool/default_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/network/transport" - "github.com/micro/go-micro/v3/network/transport/memory" + "github.com/asim/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport/memory" ) func testPool(t *testing.T, size int, ttl time.Duration) { diff --git a/util/pool/options.go b/util/pool/options.go index 7c894e0b..9143e5a9 100644 --- a/util/pool/options.go +++ b/util/pool/options.go @@ -3,7 +3,7 @@ package pool import ( "time" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport" ) type Options struct { diff --git a/util/pool/pool.go b/util/pool/pool.go index 8a8dacc7..1b09d361 100644 --- a/util/pool/pool.go +++ b/util/pool/pool.go @@ -4,7 +4,7 @@ package pool import ( "time" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport" ) // Pool is an interface for connection pooling diff --git a/util/registry/util.go b/util/registry/util.go index e0d67ab3..edea2a09 100644 --- a/util/registry/util.go +++ b/util/registry/util.go @@ -1,7 +1,7 @@ package registry import ( - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) func addNodes(old, neu []*registry.Node) []*registry.Node { diff --git a/util/registry/util_test.go b/util/registry/util_test.go index 1b7eef6d..25c2210d 100644 --- a/util/registry/util_test.go +++ b/util/registry/util_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) func TestRemove(t *testing.T) { diff --git a/util/router/parse.go b/util/router/parse.go index 1e3b844d..4375b574 100644 --- a/util/router/parse.go +++ b/util/router/parse.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "github.com/micro/go-micro/v3/logger" + "github.com/asim/go-micro/v3/logger" ) // InvalidTemplateError indicates that the path template is not valid. diff --git a/util/router/parse_test.go b/util/router/parse_test.go index 9f102ff9..35a2124a 100644 --- a/util/router/parse_test.go +++ b/util/router/parse_test.go @@ -8,7 +8,7 @@ import ( "reflect" "testing" - "github.com/micro/go-micro/v3/logger" + "github.com/asim/go-micro/v3/logger" ) func TestTokenize(t *testing.T) { diff --git a/util/router/router.go b/util/router/router.go index e5c0a971..5a827e7f 100644 --- a/util/router/router.go +++ b/util/router/router.go @@ -1,8 +1,8 @@ package router import ( - "github.com/micro/go-micro/v3/registry" - "github.com/micro/go-micro/v3/router" + "github.com/asim/go-micro/v3/registry" + "github.com/asim/go-micro/v3/router" ) type apiRouter struct { diff --git a/util/router/runtime.go b/util/router/runtime.go index 24cc5d59..8db25179 100644 --- a/util/router/runtime.go +++ b/util/router/runtime.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/micro/go-micro/v3/logger" + "github.com/asim/go-micro/v3/logger" ) var ( diff --git a/util/scope/scope.go b/util/scope/scope.go index eb75a7bb..e5b54332 100644 --- a/util/scope/scope.go +++ b/util/scope/scope.go @@ -3,7 +3,7 @@ package scope import ( "fmt" - "github.com/micro/go-micro/v3/store" + "github.com/asim/go-micro/v3/store" ) // Scope extends the store, applying a prefix to each request diff --git a/util/socket/socket.go b/util/socket/socket.go index eec4b225..6f83bedf 100644 --- a/util/socket/socket.go +++ b/util/socket/socket.go @@ -4,7 +4,7 @@ package socket import ( "io" - "github.com/micro/go-micro/v3/network/transport" + "github.com/asim/go-micro/v3/network/transport" ) // Socket is our pseudo socket for transport.Socket diff --git a/util/stream/stream.go b/util/stream/stream.go index 1c26350e..56fa7b75 100644 --- a/util/stream/stream.go +++ b/util/stream/stream.go @@ -5,11 +5,11 @@ import ( "context" "sync" - "github.com/micro/go-micro/v3/client" - "github.com/micro/go-micro/v3/client/mucp" - "github.com/micro/go-micro/v3/codec" - "github.com/micro/go-micro/v3/metadata" - "github.com/micro/go-micro/v3/server" + "github.com/asim/go-micro/v3/client" + "github.com/asim/go-micro/v3/client/mucp" + "github.com/asim/go-micro/v3/codec" + "github.com/asim/go-micro/v3/metadata" + "github.com/asim/go-micro/v3/server" ) type Stream interface { diff --git a/util/sync/manager.go b/util/sync/manager.go index 794c60a7..716fa0cc 100644 --- a/util/sync/manager.go +++ b/util/sync/manager.go @@ -3,7 +3,7 @@ package sync import ( "time" - "github.com/micro/go-micro/v3/store" + "github.com/asim/go-micro/v3/store" "github.com/pkg/errors" ) diff --git a/util/sync/options.go b/util/sync/options.go index ed2cbec0..e2dbb03c 100644 --- a/util/sync/options.go +++ b/util/sync/options.go @@ -3,7 +3,7 @@ package sync import ( "time" - "github.com/micro/go-micro/v3/store" + "github.com/asim/go-micro/v3/store" ) // Options represents Sync options diff --git a/util/sync/sync.go b/util/sync/sync.go index 43d73fc4..c3110b19 100644 --- a/util/sync/sync.go +++ b/util/sync/sync.go @@ -6,8 +6,8 @@ import ( "sync" "time" + "github.com/asim/go-micro/v3/store" "github.com/ef-ds/deque" - "github.com/micro/go-micro/v3/store" "github.com/pkg/errors" ) diff --git a/util/test/test.go b/util/test/test.go index b7be6b63..af5b3501 100644 --- a/util/test/test.go +++ b/util/test/test.go @@ -1,7 +1,7 @@ package test import ( - "github.com/micro/go-micro/v3/registry" + "github.com/asim/go-micro/v3/registry" ) var ( diff --git a/util/token/basic/basic.go b/util/token/basic/basic.go index 53cb0284..20a92394 100644 --- a/util/token/basic/basic.go +++ b/util/token/basic/basic.go @@ -5,10 +5,10 @@ import ( "fmt" "time" + "github.com/asim/go-micro/v3/auth" + "github.com/asim/go-micro/v3/store" + "github.com/asim/go-micro/v3/util/token" "github.com/google/uuid" - "github.com/micro/go-micro/v3/auth" - "github.com/micro/go-micro/v3/store" - "github.com/micro/go-micro/v3/util/token" ) // Basic implementation of token provider, backed by the store diff --git a/util/token/basic/basic_test.go b/util/token/basic/basic_test.go index 2bb775b4..f2ca57f8 100644 --- a/util/token/basic/basic_test.go +++ b/util/token/basic/basic_test.go @@ -3,9 +3,9 @@ package basic import ( "testing" - "github.com/micro/go-micro/v3/auth" - "github.com/micro/go-micro/v3/store/memory" - "github.com/micro/go-micro/v3/util/token" + "github.com/asim/go-micro/v3/auth" + "github.com/asim/go-micro/v3/store/memory" + "github.com/asim/go-micro/v3/util/token" ) func TestGenerate(t *testing.T) { diff --git a/util/token/jwt/jwt.go b/util/token/jwt/jwt.go index 7834ef5a..9bdfef88 100644 --- a/util/token/jwt/jwt.go +++ b/util/token/jwt/jwt.go @@ -4,9 +4,9 @@ import ( "encoding/base64" "time" + "github.com/asim/go-micro/v3/auth" + "github.com/asim/go-micro/v3/util/token" "github.com/dgrijalva/jwt-go" - "github.com/micro/go-micro/v3/auth" - "github.com/micro/go-micro/v3/util/token" ) // authClaims to be encoded in the JWT diff --git a/util/token/jwt/jwt_test.go b/util/token/jwt/jwt_test.go index 7cb35445..ac86cb09 100644 --- a/util/token/jwt/jwt_test.go +++ b/util/token/jwt/jwt_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/micro/go-micro/v3/auth" - "github.com/micro/go-micro/v3/util/token" + "github.com/asim/go-micro/v3/auth" + "github.com/asim/go-micro/v3/util/token" ) func TestGenerate(t *testing.T) { diff --git a/util/token/options.go b/util/token/options.go index 1e7be0e4..8850952e 100644 --- a/util/token/options.go +++ b/util/token/options.go @@ -3,7 +3,7 @@ package token import ( "time" - "github.com/micro/go-micro/v3/store" + "github.com/asim/go-micro/v3/store" ) type Options struct { diff --git a/util/token/token.go b/util/token/token.go index ae8e4c78..ce1550ef 100644 --- a/util/token/token.go +++ b/util/token/token.go @@ -4,7 +4,7 @@ import ( "errors" "time" - "github.com/micro/go-micro/v3/auth" + "github.com/asim/go-micro/v3/auth" ) var (