mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-09 12:12:26 +08:00
更新文档
This commit is contained in:
@@ -41,8 +41,9 @@ make gen_client_proto # 生成客户端协议代理(非必要 详见gate/client_
|
||||
* 构建
|
||||
|
||||
```shell
|
||||
make build # 构建服务器二进制文件
|
||||
make docker_build # 构建镜像
|
||||
make build # 构建服务器二进制文件
|
||||
make docker_config # 复制配置模板等文件
|
||||
make docker_build # 构建镜像
|
||||
```
|
||||
|
||||
* 启动
|
||||
@@ -80,5 +81,6 @@ GOLANG_PROTOBUF_REGISTRATION_CONFLICT=ignore
|
||||
## 代码提交规范
|
||||
|
||||
* 提交前**必须**进行go fmt(GoLand可在commit窗口的设置里勾选,默认是启用的)
|
||||
* 进行全局格式化时,请跳过gdconf目录,这是配置表数据,包含大量的json、lua、txt等文件
|
||||
* 单行注释的注释符与注释内容之间需要加一个空格(GoLand可在设置Editor/CodeStyle/Go/Other里打开)
|
||||
* 导入包时需要将标准库、本地包、第三方包用空行分开(GoLand可在设置Editor/CodeStyle/Go/Imports里打开)
|
||||
|
||||
Reference in New Issue
Block a user