File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ Import the plugins in a `plugins.go` file
3939package main
4040
4141import (
42- _ " github.com/go- micro/plugins/v5/broker/rabbitmq"
43- _ " github.com/go- micro/plugins/v5/registry/kubernetes"
44- _ " github.com/go- micro/plugins/v5/transport/nats"
42+ _ " github.com/micro/plugins/v5/broker/rabbitmq"
43+ _ " github.com/micro/plugins/v5/registry/kubernetes"
44+ _ " github.com/micro/plugins/v5/transport/nats"
4545)
4646```
4747
@@ -97,7 +97,7 @@ Import and set as options when creating a new service
9797``` go
9898import (
9999 " go-micro.dev/v5"
100- " github.com/go- micro/plugins/v5/registry/kubernetes"
100+ " github.com/micro/plugins/v5/registry/kubernetes"
101101)
102102
103103func main () {
@@ -124,9 +124,9 @@ Create file plugins.go
124124package main
125125
126126import (
127- _ " github.com/go- micro/plugins/v5/broker/rabbitmq"
128- _ " github.com/go- micro/plugins/v5/registry/kubernetes"
129- _ " github.com/go- micro/plugins/v5/transport/nats"
127+ _ " github.com/micro/plugins/v5/broker/rabbitmq"
128+ _ " github.com/micro/plugins/v5/registry/kubernetes"
129+ _ " github.com/micro/plugins/v5/transport/nats"
130130)
131131```
132132
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ Here's a simple usage guide
99### Run Proxy
1010
1111```
12- # install micro
13- go get github.com/micro/micro
12+ # install mu
13+ go install github.com/micro/micro/v5/mu@latest
1414
1515# run proxy
16- micro proxy
16+ mu proxy
1717```
1818
1919### Import and Flag plugin
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ Specify source with data
2929
3030``` go
3131etcdSource := etcd.NewSource (
32- // optionally specify etcd address; default to localhost:8500
33- etcd.WithAddress (" 10.0.0.10:8500 " ),
32+ // optionally specify etcd address; default to localhost:2379
33+ etcd.WithAddress (" 10.0.0.10:2379 " ),
3434 // optionally specify prefix; defaults to /micro/config
3535 etcd.WithPrefix (" /my/prefix" ),
3636 // optionally strip the provided prefix from the keys, defaults to false
You can’t perform that action at this time.
0 commit comments