<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Gin - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/gin/</link><description>Gin - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Sun, 12 Jan 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/gin/" rel="self" type="application/rss+xml"/><item><title>Gin 开发后台服务最佳实践</title><link>https://rd163.visword.com/posts/best-practice-for-gin/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/best-practice-for-gin/</guid><description><![CDATA[<h1 id="gin-开发后台服务最佳实践" class="headerLink">
    <a href="#gin-%e5%bc%80%e5%8f%91%e5%90%8e%e5%8f%b0%e6%9c%8d%e5%8a%a1%e6%9c%80%e4%bd%b3%e5%ae%9e%e8%b7%b5" class="header-mark"></a>Gin 开发后台服务最佳实践</h1><p><a href="https://github.com/gin-gonic/gin" target="_blank" rel="noopener noreferrer">gin</a> 是一个 golang 实现的 http web 框架。</p>
<p><a href="https://github.com/skyhee/gin-doc-cn" target="_blank" rel="noopener noreferrer">go 语言框架 gin 的中文文档</a> 介绍了 路由、无缝重启、中间件、db接入常用方法。</p>
<h2 id="脚手架项目" class="headerLink">
    <a href="#%e8%84%9a%e6%89%8b%e6%9e%b6%e9%a1%b9%e7%9b%ae" class="header-mark"></a>脚手架项目</h2><p>github上有这么些 stars 数排名较高的：</p>
<ul>
<li>
<p><a href="https://github.com/flipped-aurora/gin-vue-admin" target="_blank" rel="noopener noreferrer">gin-vue-admin</a> Vite+Vue3+Gin拥有AI辅助的基础开发平台，支持TS和JS混用。它集成了JWT鉴权、权限管理、动态路由、casbin鉴权、显隐可控组件、分页封装、多点登录拦截、资源权限、上传下载、代码生成器、表单生成器和可配置的导入导出等开发必备功能。</p>]]></description></item></channel></rss>