重构后端服务架构并优化前端错误处理

This commit is contained in:
ylweng
2025-09-12 01:21:43 +08:00
parent d550a8ed51
commit 3a48a67757
53 changed files with 3925 additions and 0 deletions

30
go-backend/README.md Normal file
View File

@@ -0,0 +1,30 @@
# Go Backend for Niumall
This is the Go implementation of the Niumall backend using the Gin framework.
## Project Structure
```
go-backend/
├── README.md
├── go.mod
├── go.sum
├── main.go
├── config/
├── models/
├── routes/
├── controllers/
├── middleware/
├── utils/
└── docs/
```
## Getting Started
1. Install Go (version 1.16 or later)
2. Run `go mod tidy` to install dependencies
3. Run `go run main.go` to start the server
## API Documentation
API documentation is available in the `docs/` directory.