From c75eb7759cb8bba146f80372c6bd44c43fa43ff3 Mon Sep 17 00:00:00 2001 From: Brian Ketelsen Date: Wed, 30 Apr 2025 06:33:51 -0400 Subject: [PATCH] docs: updates in readmes --- README.md | 14 +++++++------- v5/broker/proxy/README.md | 6 +++--- v5/config/source/etcd/README.md | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 31e0d1d7..51fdc6f1 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ Import the plugins in a `plugins.go` file package main import ( - _ "github.com/go-micro/plugins/v5/broker/rabbitmq" - _ "github.com/go-micro/plugins/v5/registry/kubernetes" - _ "github.com/go-micro/plugins/v5/transport/nats" + _ "github.com/micro/plugins/v5/broker/rabbitmq" + _ "github.com/micro/plugins/v5/registry/kubernetes" + _ "github.com/micro/plugins/v5/transport/nats" ) ``` @@ -97,7 +97,7 @@ Import and set as options when creating a new service ```go import ( "go-micro.dev/v5" - "github.com/go-micro/plugins/v5/registry/kubernetes" + "github.com/micro/plugins/v5/registry/kubernetes" ) func main() { @@ -124,9 +124,9 @@ Create file plugins.go package main import ( - _ "github.com/go-micro/plugins/v5/broker/rabbitmq" - _ "github.com/go-micro/plugins/v5/registry/kubernetes" - _ "github.com/go-micro/plugins/v5/transport/nats" + _ "github.com/micro/plugins/v5/broker/rabbitmq" + _ "github.com/micro/plugins/v5/registry/kubernetes" + _ "github.com/micro/plugins/v5/transport/nats" ) ``` diff --git a/v5/broker/proxy/README.md b/v5/broker/proxy/README.md index 11ba898f..2a550e3d 100644 --- a/v5/broker/proxy/README.md +++ b/v5/broker/proxy/README.md @@ -9,11 +9,11 @@ Here's a simple usage guide ### Run Proxy ``` -# install micro -go get github.com/micro/micro +# install mu +go install github.com/micro/micro/v5/mu@latest # run proxy -micro proxy +mu proxy ``` ### Import and Flag plugin diff --git a/v5/config/source/etcd/README.md b/v5/config/source/etcd/README.md index a3025ad4..ba2957e3 100644 --- a/v5/config/source/etcd/README.md +++ b/v5/config/source/etcd/README.md @@ -29,8 +29,8 @@ Specify source with data ```go etcdSource := etcd.NewSource( - // optionally specify etcd address; default to localhost:8500 - etcd.WithAddress("10.0.0.10:8500"), + // optionally specify etcd address; default to localhost:2379 + etcd.WithAddress("10.0.0.10:2379"), // optionally specify prefix; defaults to /micro/config etcd.WithPrefix("/my/prefix"), // optionally strip the provided prefix from the keys, defaults to false