# go-web-demo **Repository Path**: bantec/go-web-demo ## Basic Information - **Project Name**: go-web-demo - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-31 - **Last Updated**: 2024-09-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go-web-admin > 一个使用golang实现的后台服务 ### 所使用的库 Go 版本: 1.22.1 gin: **github.com/gin-gonic/gin v1.10.0** orm: **gorm.io/gorm v1.25.11** 配置文件解析:Viper github.com/spf13/viper v1.19.0 ## 目录结构 ``` ├── go.mod ├── go.sum └── internal ├── core │   ├── adapters │   │   ├── http │   │   │   ├── handles.go │   │   │   └── user │   │   │   ├── user_handler.go │   │   │   └── user_repo.go │   │   ├── infrastructure │   │   │   ├── database │   │   │   │   └── db.go │   │   │   ├── logger │   │   │   └── viper.go │   │   └── middleware │   │   └── error.go │   ├── config │   │   └── config.go │   ├── domain │   │   └── user.go │   ├── ports │   │   └── user.go │   ├── routes │   │   ├── setup.go │   │   └── user.go │   └── services │   └── user.go ├── main.go ├── tests │ └── services_test.go └── README.md ``` ### 待实现功能列表 - [ ] 读取&解析配置文件 - [ ] 多数据库支持 - [ ] Http 接口验证 ### 待优化功能列表 - [ ] golang gin 路由组分组 - [ ] 项目结构优化 - [ ]