Skip to content

Latest commit

 

History

History
103 lines (78 loc) · 4.89 KB

File metadata and controls

103 lines (78 loc) · 4.89 KB

Go-API Framework Wiki

Languages: English | 中文


Welcome to the Go-API Framework Wiki! This comprehensive documentation will help you understand, use, and contribute to the Go-API framework.

📚 Documentation Index

🏗️ Architecture & Design

  • Architecture Design - Comprehensive overview of the framework's layered architecture, design patterns, and core components
  • Development Guide - Complete guide for developers including setup, workflow, and best practices

🚀 Getting Started

📖 Guides & Tutorials

🔌 API Reference

🛠️ Tools & Features

🚀 Deployment & Operations

🎯 Quick Navigation

Topic Description Link
Getting Started New to Go-API? Start here Quick Start
Architecture Understand the framework design Architecture Design
Development Learn development workflow Development Guide
API Reference API endpoints and usage API Documentation
Code Generation Automatic code generation Code Generator
Deployment Production deployment Deployment Guide
Makefile Build automation guide Makefile Usage
Shell Script Alternative build script go-api.sh Usage

🌟 Key Features

  • 🚀 High Performance - Built on Gin framework with optimized components
  • 🏗️ Layered Architecture - Clean separation of concerns with Model → Repository → Service → Controller pattern
  • 🔧 Dependency Injection - Proper DI implementation for better testability
  • ⚙️ Configuration Management - Multi-environment configuration support
  • 📝 Advanced Logging - Structured logging with Zap
  • 🗄️ Multi-Database - MySQL (GORM) and MongoDB (qmgo) support
  • 🔐 JWT Authentication - Built-in secure authentication system
  • 🌐 Internationalization - Multi-language support (Chinese, English)
  • 🎛️ Middleware System - Comprehensive middleware for CORS, auth, logging
  • ⚡ Code Generation - Automatic model/repository generation from SQL
  • 📊 Monitoring - Built-in monitoring and alerting capabilities

🛠️ Development Workflow

graph TD
    A[Create SQL Schema] --> B[Run Code Generator]
    B --> C[Implement Service Logic]
    C --> D[Create Controllers]
    D --> E[Register Routes]
    E --> F[Write Tests]
    F --> G[Deploy]
Loading

🔗 External Resources

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details on:

  • Code standards and style guide
  • Pull request process
  • Issue reporting
  • Development setup

📞 Support & Community

License

This project is licensed under the MIT License - see the LICENSE file for details.