eddycjy/go-gin-example

An example of gin

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 40 minutes ago
Added to GitGenius on September 9th, 2026
Created on February 16th, 2018
Open Issues & Pull Requests: 53 (+0)
GitHub issues: Enabled
Number of forks: 1,617
Total Stargazers: 7,203 (+0)
Total Subscribers: 135 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Go Gin Example is a reference implementation of a RESTful blog API built with the Gin web framework.

The project demonstrates how to build a production-ready backend system for managing blog articles and tags. It uses Gin for HTTP routing, GORM as an ORM layer for database operations, MySQL for persistence, and Redis for caching. The architecture follows a layered pattern with separation of concerns across different components. The system includes JWT-based authentication to protect endpoints, Swagger documentation for API discovery, and utility features like image upload, QR code generation for article posters, and Excel import/export for bulk tag management.

This project suits developers learning Gin patterns or building similar content management APIs. It provides a complete working example rather than a minimal starter, showing how multiple technologies integrate in a realistic scenario. The codebase includes both public endpoints for authentication and file operations, and protected endpoints requiring JWT tokens for article and tag management with full CRUD operations. Someone adopting this should expect to study the layered architecture and adapt the domain logic for their specific use case rather than use it as a drop-in library.

The project maintains a stable codebase with infrequent updates, suggesting the example is considered feature-complete and serves as a reference rather than an actively evolving framework. Documentation exists in multiple languages, indicating attention to accessibility for different audiences.