hotgo/server/resource/generate/default/addon
2024-03-07 20:08:56 +08:00
..
api 模块化定时任务,方便在插件中注册任务;增加日志分组 2023-06-05 20:14:57 +08:00
controller 发布v2.8.4版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md 2023-07-20 18:01:10 +08:00
crons 发布v2.8.4版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md 2023-07-20 18:01:10 +08:00
global 插件增加静态文件目录自动映射,优化插件模板引擎与主模块的耦合关系 2023-06-14 18:09:49 +08:00
logic 发布v2.8.4版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md 2023-07-20 18:01:10 +08:00
model 发布v2.2.10版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md 2023-02-23 17:53:04 +08:00
queues 发布v2.8.4版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md 2023-07-20 18:01:10 +08:00
resource 插件增加静态文件目录自动映射,优化插件模板引擎与主模块的耦合关系 2023-06-14 18:12:39 +08:00
router golangci-lint run 2023-07-24 09:35:30 +08:00
service 发布v2.8.4版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md 2023-07-20 18:01:10 +08:00
main.go.template 发布v2.13.1版本,更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md 2024-03-07 20:08:56 +08:00
README.MD.template 优化服务退出流程,增加中间件文档 2023-05-15 18:37:40 +08:00

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}"
```

4、HotGo 后台进入 开发工具->插件管理->找到 @{.label} (@{.name}) 进行安装

5、重启服务即可生效


### 常用命令行

```shell
# 接口维护-gen service
gf gen service -s=addons/@{.name}/logic -d=addons/@{.name}/service

```