This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch refactor-with-go
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git


The following commit(s) were added to refs/heads/refactor-with-go by this push:
     new 0803a00  fix import
0803a00 is described below

commit 0803a005fdbc0620c18433567bb6dc8113b4e4b5
Author: chickenlj <[email protected]>
AuthorDate: Mon Feb 27 16:45:56 2023 +0800

    fix import
---
 dubbo-admin-server/.run/AdminRun.run.xml | 11 +++++++++++
 dubbo-admin-server/README.md             |  6 +++---
 dubbo-admin-server/pkg/config/config.go  |  2 +-
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/dubbo-admin-server/.run/AdminRun.run.xml 
b/dubbo-admin-server/.run/AdminRun.run.xml
new file mode 100644
index 0000000..fef6a26
--- /dev/null
+++ b/dubbo-admin-server/.run/AdminRun.run.xml
@@ -0,0 +1,11 @@
+<component name="ProjectRunConfigurationManager">
+  <configuration default="false" name="AdminRun" 
type="GoApplicationRunConfiguration" factoryName="Go Application">
+    <module name="dubbo-admin" />
+    <working_directory value="$PROJECT_DIR$/dubbo-admin-server" />
+    <kind value="PACKAGE" />
+    <package value="admin/" />
+    <directory value="$PROJECT_DIR$" />
+    <filePath value="$PROJECT_DIR$/dubbo-admin-server/admin.go" />
+    <method v="2" />
+  </configuration>
+</component>
\ No newline at end of file
diff --git a/dubbo-admin-server/README.md b/dubbo-admin-server/README.md
index 94fa9bf..3f6c69c 100644
--- a/dubbo-admin-server/README.md
+++ b/dubbo-admin-server/README.md
@@ -1,10 +1,10 @@
-# Refacter With Go
+# Refactor With Go
 此分支是 Dubbo Admin 正在基于 Go 语言重构的开发分支,目前仍在开发过程中。
-如您正寻求将 Dubbo Admin 用作生产环境,想了解 Admin 的能力及安装方式,请参见 develop 分支及内部相关使用说明。
+如您正寻求将 Dubbo Admin 用作生产环境,想了解 Admin 的能力及安装方式,请参见 [develop 
分支](https://github.com/apache/dubbo-admin/tree/develop#dubbo-admin) 及内部相关使用说明。
 
 # 重构版本本地开发说明
 ## 启动 Zookeeper
-首先,你需要在本地启动一个 [zookeeper server](),用作 Admin 连接的注册/配置中心。
+首先,你需要在本地启动一个 [zookeeper 
server](https://zookeeper.apache.org/doc/current/zookeeperStarted.html),用作 
Admin 连接的注册/配置中心。
 
 ## 启动 Admin
 ### Java
diff --git a/dubbo-admin-server/pkg/config/config.go 
b/dubbo-admin-server/pkg/config/config.go
index 07a5f3a..7de77ef 100644
--- a/dubbo-admin-server/pkg/config/config.go
+++ b/dubbo-admin-server/pkg/config/config.go
@@ -18,8 +18,8 @@
 package config
 
 import (
-       _ "admin/imports"
        "admin/pkg/constant"
+       _ "admin/pkg/imports"
        "dubbo.apache.org/dubbo-go/v3/common/extension"
        "dubbo.apache.org/dubbo-go/v3/config_center"
        "dubbo.apache.org/dubbo-go/v3/metadata/report"

Reply via email to