goserve 是一个强大的 Go 后端架构,提供了高性能且可扩展的框架,强调功能分离、干净代码和可测试性。
| Package | Description |
|---|---|
| network | HTTP routing, middleware, request/response handling, validation |
| mongo | MongoDB connection, query builder, validation utilities |
| postgres | PostgreSQL database connectivity and operations |
| redis | Redis caching and key-value store operations |
| micro | NATS microservice framework for message-based communication |
| dto | Common DTOs (MongoID, UUID, Slug, Pagination) |
| utility | Helper functions for formatting, mapping, random generation |
| middleware | HTTP middleware (error catcher, 404 handler) |
Real-world applications built with GoServe:
PostgreSQL API Server
Complete REST API with PostgreSQL, JWT authentication, and clean architecture
MongoDB API Server
MongoDB-based backend with flexible schema design
Microservices Example
NATS-based microservices communication patterns
We welcome contributions! Please see our Contributing Guidelines and Code of Conduct.
git clone https://github.com/YOUR_USERNAME/goserve.gitgit checkout -b feature/your-featurego test ./...git commit -m "Add feature: description"git push origin feature/your-featureSubscribe to AfterAcademy on YouTube for in-depth tutorials and concept explanations:
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
If you find GoServe useful, please consider:
For security concerns, please review our Security Policy.
暂无开放 Issues,或尚未同步最近议题。