未验证 提交 067df7e0 编写于 作者: F fanweixiao 提交者: GitHub

fix(doc): fix quick start tutorial in readme (#9)

上级 806c3a60
......@@ -11,6 +11,10 @@
### 1. 创建工程,并引入yomo Create a go project and import yomo
```bash
mkdir yomotest && cd yomotest
go mod init yomotest
go get -u github.com/yomorun/yomo
```
......@@ -56,7 +60,18 @@ func (p *EchoPlugin) Name() string {
### 3. 运行 Run plugin
1. Open a new termial, run `go run echo.go`
1. Open a new termial, run `go run echo.go`, you will see:
```bash
% go run a.go
[EchoPlugin:6031]2020/07/06 22:14:20 plugin service start... [localhost:4241]
name:yomo!✅
name:yomo!✅
name:yomo!✅
name:yomo!✅
name:yomo!✅
^Csignal: interrupt
```
## 🌟 YoMo架构和亮点
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册