初始化项目:添加README文档
This commit is contained in:
commit
18c291c1c6
35
README.md
Normal file
35
README.md
Normal file
@ -0,0 +1,35 @@
|
||||
# HospitalPay-Go
|
||||
|
||||
医院支付系统后端服务
|
||||
|
||||
## 项目结构
|
||||
|
||||
```
|
||||
├── api # API 接口定义
|
||||
├── cmd # 主程序入口
|
||||
├── config # 配置文件
|
||||
├── internal # 内部包
|
||||
│ ├── handler # HTTP 处理器
|
||||
│ ├── middleware # 中间件
|
||||
│ ├── model # 数据模型
|
||||
│ ├── repository # 数据仓储层
|
||||
│ └── service # 业务逻辑层
|
||||
├── pkg # 可以被外部项目引用的包
|
||||
└── scripts # 脚本文件
|
||||
```
|
||||
|
||||
## 快速开始
|
||||
|
||||
1. 安装依赖
|
||||
```bash
|
||||
go mod download
|
||||
```
|
||||
|
||||
2. 运行项目
|
||||
```bash
|
||||
go run cmd/main.go
|
||||
```
|
||||
|
||||
## 配置说明
|
||||
|
||||
配置文件位于 `config` 目录下,使用 YAML 格式。
|
||||
Loading…
x
Reference in New Issue
Block a user