An open API service indexing awesome lists of open source software.

https://github.com/z1px/framework1

基于gin的框架
https://github.com/z1px/framework1

Last synced: 11 months ago
JSON representation

基于gin的框架

Awesome Lists containing this project

README

          

## 目录
~~~
├─ framework
│ ├─ config // 配置驱动
│ ├─ env // env配置(全局配置,优先级最高)
│ ├── ...
│ ├─ ini // ini配置(项目独立配置)
│ ├── ...
│ ├─ toml // toml配置(全局配置,优先级低于env)
│ ├── ...
│ ├── ...
│ ├── db // 数据库驱动
│ ├─ ip // IP地址解析库
│ ├── ...
│ ├─ mysql // mysql数据库驱动
│ ├── ...
│ ├─ redis // redis数据库驱动
│ ├── ...
│ ├── ...
│ ├─ logs // 日志驱动
│ ├── ...
│ ├─ middleware // 中间件
│ ├── ...
│ ├─ router // 路由
│ ├── ...
│ ├─ util // util工具
│ ├─ crypto // 常用加密工具
│ ├── ...
│ ├─ filepath // 文件或者文件夹操作工具
│ ├── ...
│ ├── format.go // 数据格式化
│ ├── validate.go // 数据验证
│ ├── ...
│ ├─ validator // 验证器
│ ├── ...
│ ├─ app.go // 框架入口文件
~~~

## 参考文档
- [gin 开发文档](https://gin-gonic.com/zh-cn/docs)
- [gin 实例](https://github.com/gin-gonic/examples)
- [GORM 文档](https://gorm.io/zh_CN)
- [validator 文档](https://gopkg.in/go-playground/validator.v10)