Loading...
Loading...
Complete development skill set for the ABE Framework, providing a full-stack solution for modern Go HTTP RESTful API application development. Core features include: modular engine architecture, standardized controller route registration, global and route-level middleware system, dependency injection container (supporting global and request-level scopes), multi-language internationalization (i18n) support, access control system based on JWT and Casbin, asynchronous event bus mechanism, high-performance goroutine pool management, extensible plugin mechanism, configuration management system (supporting multi-layer configuration priority), GORM database integration, structured logging system, form validation framework, scheduled task scheduling (Cron), CORS cross-domain support, etc. Suitable for scenarios such as building enterprise-level web services, microservice architecture applications, API gateways, and backend management systems. The framework adopts a loose-coupling design, supports the UseCase business logic pattern, provides a complete error handling mechanism and performance monitoring capabilities, helping enterprises quickly build stable and maintainable distributed application systems.
npx skill4agent add otzgo/abe abe-frameworkpackage main
import "github.com/otzgo/abe"
func main() {
// 创建引擎实例
engine := abe.NewEngine()
// 配置和注册组件
// ...
// 启动服务
engine.Run(abe.WithBasePath("/api/v1"))
}project/
├── cmd/app/ # 应用入口
├── internal/
│ ├── controllers/ # 控制器层
│ ├── usecases/ # 业务用例层
│ ├── dtos/ # 数据传输对象
│ └── models/ # 数据模型
├── configs/ # 配置文件
└── docs/ # 文档