hotgo/server/resource/generate/default/addon/README.MD.template

40 lines
723 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## @{.label}
### 简介
@{.brief}
### 使用说明
@{.description}
### 迁移或安装
1安装 HotGo (@{.hgVersion}及以上)
项目介绍https://github.com/bufanyun/hotgo
2将当前插件项目拷贝进 HotGo 根目录的 server/addons 目录下
3 HotGo 根目录的 server/addons/modules 目录下创建go文件:@{.name}.go内容如下
```go
package modules
import _ "hotgo/addons/@{.name}"
```
4HotGo 后台进入 开发工具->插件管理->找到 @{.label} (@{.name}) 进行安装
5重启服务即可生效
### 常用命令行
```shell
# 接口维护-gen service
gf gen service -s=addons/@{.name}/logic -d=addons/@{.name}/service
```