• 请不要在回答技术问题时复制粘贴 AI 生成的内容
alfredhuo
V2EX  ›  程序员

想找一个不错的 golang web 项目,来学习一下, V 友们有推荐的吗?

  •  2
     
  •   alfredhuo · Oct 24, 2019 · 10773 views
    This topic created in 2413 days ago, the information mentioned may be changed or developed.

    最近在学习 golang web 开发,想看看比较不错的用 golang 写的 web 项目,然后自己写个博客之类的,想提前参考一下比较有些的代码结构和风格,提前谢谢大家

    40 replies    2021-05-18 11:33:22 +08:00
    zael
        1
    zael  
       Oct 24, 2019 via iPhone
    VDimos
        2
    VDimos  
       Oct 24, 2019 via Android
    我觉得你在暗指开源 bilibili 代码
    alfredhuo
        3
    alfredhuo  
    OP
       Oct 24, 2019
    @VDimos 不是
    alfredhuo
        4
    alfredhuo  
    OP
       Oct 24, 2019
    @tomoya92 beego 写的, 有 gin 写的吗?
    zael
        5
    zael  
       Oct 24, 2019
    @shuaibinghuo #4 没有,这个项目写的比较早了,也没什么 bug,好长时间没更新了,上手 golang 很好的项目
    hkitdog
        6
    hkitdog  
       Oct 24, 2019 via iPhone
    為什麼不直接看 gin 源碼呢...
    alfredhuo
        7
    alfredhuo  
    OP
       Oct 24, 2019
    @hkitdog 我看了 gin 的源码了,还想看看用 gin 写的 web 项目
    alfredhuo
        8
    alfredhuo  
    OP
       Oct 24, 2019
    不管是 restfulAPI 还是个人博客 ,只要是用 gin webframwork 写的都可以。
    janxin
        9
    janxin  
       Oct 24, 2019
    gin 啊,我怀疑你在暗指 open-bilibili
    alfredhuo
        11
    alfredhuo  
    OP
       Oct 24, 2019
    @cryingsky 谢谢
    alfredhuo
        12
    alfredhuo  
    OP
       Oct 24, 2019
    @janxin 不用像 open-bilibili 那么大的项目,小项目即可,😝
    zunceng
        13
    zunceng  
       Oct 24, 2019
    @shuaibinghuo 当年我怎么没你的觉悟呢 我参考了 docker server 自己撸了个 http router ....
    zohan
        15
    zohan  
       Oct 24, 2019
    https://github.com/go-courier

    我们公司自己研发的 golang 框架,欢迎指教😁
    scnace
        16
    scnace  
       Oct 24, 2019 via Android
    goplay.space(试图带歪
    gogo789
        17
    gogo789  
       Oct 24, 2019
    JRay
        18
    JRay  
       Oct 24, 2019
    bilibili
    sulinehk
        19
    sulinehk  
       Oct 24, 2019 via Android
    一个很简单的实现 https://github.com/linehk/go-forum
    ylsc633
        20
    ylsc633  
       Oct 24, 2019   ❤️ 1
    我博客就是用 gin 写的, 去年没事写的

    博客业务代码: https://github.com/izghua/go-blog

    底层封装了一个包,上面的包基于这个包来写的: https://github.com/izghua/zgh

    当然了,如果你想要 beego 版本的 我也有 https://github.com/xzghua/beego-postgres-blog

    再如果你想要 php 版本的 我也有 https://github.com/xzghua/laravel-5-myblog
    alfredhuo
        21
    alfredhuo  
    OP
       Oct 24, 2019
    @chuhemiao 已 star
    alfredhuo
        22
    alfredhuo  
    OP
       Oct 24, 2019
    @zohan 已 star
    alfredhuo
        23
    alfredhuo  
    OP
       Oct 24, 2019
    @sulinehk 已 star
    alfredhuo
        24
    alfredhuo  
    OP
       Oct 24, 2019
    @ylsc633 已 star
    alfredhuo
        25
    alfredhuo  
    OP
       Oct 24, 2019
    各位 V 友 ,我是想看一个你们写的或者你们推荐的比较好的 web 项目(实际项目),不是想找一个 web 框架,框架就用 gin😃
    alfredhuo
        26
    alfredhuo  
    OP
       Oct 24, 2019
    @ylsc633 你太狂了😂
    fiypig
        27
    fiypig  
       Oct 24, 2019
    马克
    skiy
        28
    skiy  
       Oct 24, 2019
    我收集的几个:

    基于 BeeGo 的::

    https://github.com/yuedun/metal (刚看了,还在持续更新)
    基于 beego 开发的博客,管理后台系统,包含功能:登录,用户管理,权限管理,多线程获取数据,定时任务,爬虫,markdown,七牛上传图片。

    https://github.com/mikezss/skl-go (也在更新中)
    skl api,企业级后台 API 开发平台。使用 beego 语言架构。开发平台内嵌了用户、用户组、机构、角色、权限、多语言、枚举、OA 引擎等功能模块。

    https://github.com/aveyuan/MySales (更新中)
    功能十分简单,客户,产品,销售,采用 Beego+Layui 开发

    https://github.com/TruthHun/DocHub (更新中)
    DocHubDocHub 文库系统,使用 Go 语言的 beego 框架开发的类百度文库系统,实现 office、PDF 等文档在线浏览。

    https://github.com/lifei6671/mindoc
    MinDoc 是一款针对 IT 团队开发的简单好用的文档管理系统。

    -------------------------------------------------------------------------------------------
    https://github.com/lyw1995/Angular5-Blog-Admin
    Angular5+ Ant Design 编写的简易版博客后台管理系统, Go Web 编写的服务端
    Go 语言编写的 Blog(博客)服务端
    https://github.com/lyw1995/Golang-Blog-Server
    预览地址: http://blog.yinguiw.com
    alfredhuo
        29
    alfredhuo  
    OP
       Oct 24, 2019
    @skiy thank you very much, guys 🌹
    Allianzcortex
        30
    Allianzcortex  
       Oct 25, 2019
    看到现在还没人推荐 real-world-example ? 纯后端 API 最佳实践: https://github.com/gothinkster/golang-gin-realworld-example-app 。btw 基本上任何前端后端框架学习都可以从这个项目里找到例子
    Allianzcortex
        31
    Allianzcortex  
       Oct 25, 2019
    @Allianzcortex 不行要学一下利益相关了:给这个大项目的后端 flask 提过两个 PR,前端 vue 提过一个 PR LOL
    magua
        32
    magua  
       Oct 25, 2019
    alfredhuo
        33
    alfredhuo  
    OP
       Oct 25, 2019
    @magua thank you
    alfredhuo
        34
    alfredhuo  
    OP
       Oct 25, 2019
    sikong31
        35
    sikong31  
       Oct 25, 2019
    youngxhui
        36
    youngxhui  
       Oct 25, 2019
    @cryingsky 感谢推荐我的项目。GinHello 适合新手学习 Gin 入门。🤣 。配套文章 : https://youngxhui.top/categories/gin/
    zohan
        37
    zohan  
       Oct 27, 2019
    @alfredhuo 我们这边就是深入使用了 gin 之后,对 gin 进行了深入的改造,最后发现改的太多了,最后就自己搞了😂
    alfredhuo
        38
    alfredhuo  
    OP
       Oct 27, 2019
    @youngxhui 谢谢
    alfredhuo
        39
    alfredhuo  
    OP
       Oct 27, 2019
    @zohan 谢谢
    joseph1994
        40
    joseph1994  
       May 18, 2021
    如果是想学前后端分离架构下的后端 REST API 开发,直接看 Docker 源码,现在叫做 Moby 项目,GitHub 上下载下来看就好了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   950 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 70ms · UTC 19:36 · PVG 03:36 · LAX 12:36 · JFK 15:36
    ♥ Do have faith in what you're doing.