重构后端服务架构并优化前端错误处理
This commit is contained in:
30
go-backend/README.md
Normal file
30
go-backend/README.md
Normal 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.
|
||||
Reference in New Issue
Block a user