# ghost **Repository Path**: limoaix/ghost ## Basic Information - **Project Name**: ghost - **Description**: golang web framework - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-14 - **Last Updated**: 2021-07-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ghost - 为gin套上工程化DDD的外衣-。- > 使个人或团队能够更简单、快速地搭建起一个工程化的DDD架构的web服务 ### 设计目标 ``` 在领域驱动设计的指导下按照分层架构, 实现统一的服务调用、可扩展的适配器插槽、清晰规范的领域方法论 ``` ### 依赖 - go ^1.13 - go mod ### 安装 ```shell script go get -u github.com/limoxi/ghost ``` ### 脚手架 > 使用glo生成项目框架以及添加资源 ```shell script pip install -U git+https://github.com/limoxi/glo.git cd ~/workspace glo init ``` ### 使用 >[设计理念&使用规范](./guide_lines.md) >[glo: 框架生成器](https://github.com/limoxi/glo) ### TODO - [ ] 支持多种服务调用, restApi, gRPC, websocket ... - [x] resource api设计 - [x] 中间件设计 - [x] orm - [x] 数据库事务应用策略 - [x] 配置文件设计 - [x] 异常处理 - [x] DDD规范 - [ ] 分布式锁 - [x] 日志 - [ ] docker部署 > [升级日志](./update_log.md) ### 项目参考 >[《实现领域驱动设计》[美] Vaughn Vernon 著;滕云 译](https://item.jd.com/11423256.html) >[gin](https://github.com/gin-gonic/gin) >[gorm](https://github.com/jinzhu/gorm) >[logrus](https://github.com/sirupsen/logrus)