V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
233373
V2EX  ›  Go 编程语言

有没有 GIN 项目实战视频推荐呢?

  •  
  •   233373 · 237 天前 · 1754 次点击
    这是一个创建于 237 天前的主题,其中的信息可能已经有所发展或是发生改变。

    最近要用 GIN 写 API ,但是对它的生态不是很了解,希望有个项目实战的视频可以快速过一遍,用到了那些东西,怎么用的

    10 条回复    2023-10-21 17:25:12 +08:00
    standchan
        1
    standchan  
       237 天前
    https://github.com/gin-gonic/examples 有看 examples 的习惯会好一点
    ryalu
        2
    ryalu  
       237 天前
    其实 gin 就一个 http 路由工具库而已,看视频效率太低了....直接看看官方的 examples ,然后再看看开源库( https://github.com/search?q=gin&type=repositories )就基本会用了,像这个( https://github.com/flipped-aurora/gin-vue-admin/tree/main/server ),看看他怎么使用中间件、获取请求参数、返回数据等等....最多两三个小时就能上手写项目了🐶
    streamrx
        3
    streamrx  
       237 天前 via iPhone
    看文档就行了 不复杂
    233373
        4
    233373  
    OP
       237 天前
    @streamrx GIN 本身使用没问题,就是想看看别人用 GIN 开发项目的时候怎么用的
    233373
        5
    233373  
    OP
       237 天前
    @standchan Good
    NX2023
        6
    NX2023  
       237 天前
    voidmnwzp
        7
    voidmnwzp  
       234 天前 via iPhone
    撸起袖子干就行 这玩意还需要看视频吗又不是 springboot 这种重量级框架
    putyy
        8
    putyy  
       228 天前
    好久之前写的练手项目 给我的感觉就是想写什么功能 看下文档,把你在其他语言想到的逻辑用 Go 写一遍,gin 整体感觉很容易就上手了

    https://github.com/putyy/ai-share
    zksfyz
        9
    zksfyz  
       225 天前
    @putyy 案例写的不错。可以借鉴。我写的 gin 网站,没有公开。
    qloog
        10
    qloog  
       189 天前
    https://github.com/go-eagle/eagle 也是基于 gin 的,可以参考。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1188 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:33 · PVG 07:33 · LAX 16:33 · JFK 19:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.