Skip to content

Commit

Permalink
Djh/doc imports (#1282)
Browse files Browse the repository at this point in the history
* add imports to readme

* format readme
  • Loading branch information
Mulavar committed Jun 29, 2021
1 parent bdd488f commit 5b7b35b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ You can know more about dubbo-go by its [roadmap](https://github.com/apache/dubb

![feature](./doc/pic/arch/dubbo-go-arch.png)

## Simplified Imports
When you use the dubbo-go, you may need to import many packages to support some initialization of components like registry, protocol etc. To simplify these imports, we created a project named [imports](https://github.com/dubbogo/imports), it help you integrate the default component that dubbo-go providered.
For example, if you want to use dubbo-go with zookeeper registry, dubbo protocoal and nacos config center, you just need to add `import github.com/dubbogo/imports/dubbo/nacos/zk` to your code.
You can find more support in the [imports](https://github.com/dubbogo/imports).

## Document

[dubbo-doc](http://dubbo.apache.org/zh/blog/) or [dubbo-go-doc-list](http://alexstocks.github.io/html/dubbogo.html)
Expand Down
7 changes: 6 additions & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

---

Apache Dubbo Go 语言实现,架起java和go之间的桥梁,与 gRPC/Spring Cloud 生态互联互通,带领Java生态享受云原生时代的技术红利
Apache Dubbo Go 语言实现,架起 Java 和 Go 之间的桥梁,与 gRPC/Spring Cloud 生态互联互通,带领 Java 生态享受云原生时代的技术红利

## 证书 ##

Expand Down Expand Up @@ -143,6 +143,11 @@ Apache License, Version 2.0

![feature](./doc/pic/arch/dubbo-go-arch.png)

## 简化 import
当使用 dubbo-go 提供的服务时,你需要通过 import 引入大量的组件,如注册中心、RPC 协议、配置中心等等。为了简化这一部分工作,我们创建了项目 [imports](https://github.com/dubbogo/imports),该项目集成了 dubbo-go 的内置组件,能够帮助你更简易使用 dubbo-go 提供的组件集合。
比如当你使用 dubbo-go 的服务时,你想要指定使用 zookeeper 注册中心、dubbo 协议、nacos 配置中心,只需在你的代码中加入 `import github.com/dubbogo/imports/dubbo/nacos/zk`
如果你需要更多简化 import 相关的内容支持,请访问 [imports](https://github.com/dubbogo/imports)

## 文档

请访问 [dubbo官方文档中关于 dubbo-go 的系列文档](http://dubbo.apache.org/zh/blog/)[过往dubbo-go文档列表](http://alexstocks.github.io/html/dubbogo.html)
Expand Down

0 comments on commit 5b7b35b

Please sign in to comment.