mirror of
https://github.com/go-micro/go-micro.git
synced 2025-09-16 08:36:30 +02:00
feat: modify the dependencies urls (#2363)
This commit is contained in:
@@ -11,13 +11,13 @@ This is hello world using micro
|
|||||||
|
|
||||||
Install the following
|
Install the following
|
||||||
|
|
||||||
- [micro](https://github.com/micro/micro)
|
- [micro](https://github.com/asim/go-micro/tree/master/cmd/micro)
|
||||||
- [protoc-gen-micro](https://github.com/micro/protoc-gen-micro)
|
- [protoc-gen-micro](https://github.com/asim/go-micro/tree/master/cmd/protoc-gen-micro)
|
||||||
|
|
||||||
## Run Service
|
## Run Service
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
micro run service --name helloworld
|
micro run . --name helloworld
|
||||||
```
|
```
|
||||||
|
|
||||||
## Query Service
|
## Query Service
|
||||||
@@ -25,3 +25,9 @@ micro run service --name helloworld
|
|||||||
```
|
```
|
||||||
micro call helloworld Greeter.Hello '{"name": "John"}'
|
micro call helloworld Greeter.Hello '{"name": "John"}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## List Services
|
||||||
|
|
||||||
|
```shell
|
||||||
|
micro services
|
||||||
|
```
|
Reference in New Issue
Block a user