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

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

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

    我们公司自己研发的 golang 框架,欢迎指教😁
    scnace
    scnace
    Oct 24, 2019 via Android
    16
    goplay.space(试图带歪
    JRay
    JRay
    Oct 24, 2019
    18
    bilibili
    sulinehk
    sulinehk
    Oct 24, 2019 via Android
    19
    一个很简单的实现 https://github.com/linehk/go-forum
    ylsc633
    ylsc633
    Oct 24, 2019❤️1
    20
    我博客就是用 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
    alfredhuo
    OP
    Oct 24, 2019
    21
    @chuhemiao 已 star
    alfredhuo
    alfredhuo
    OP
    Oct 24, 2019
    22
    @zohan 已 star
    alfredhuo
    alfredhuo
    OP
    Oct 24, 2019
    23
    @sulinehk 已 star
    alfredhuo
    alfredhuo
    OP
    Oct 24, 2019
    24
    @ylsc633 已 star
    alfredhuo
    alfredhuo
    OP
    Oct 24, 2019
    25
    各位 V 友 ,我是想看一个你们写的或者你们推荐的比较好的 web 项目(实际项目),不是想找一个 web 框架,框架就用 gin😃
    alfredhuo
    alfredhuo
    OP
    Oct 24, 2019
    26
    @ylsc633 你太狂了😂
    fiypig
    fiypig
    Oct 24, 2019
    27
    马克
    skiy
    skiy
    Oct 24, 2019
    28
    我收集的几个:

    基于 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
    alfredhuo
    OP
    Oct 24, 2019
    29
    @skiy thank you very much, guys 🌹
    Allianzcortex
    Allianzcortex
    Oct 25, 2019
    30
    看到现在还没人推荐 real-world-example ? 纯后端 API 最佳实践: https://github.com/gothinkster/golang-gin-realworld-example-app 。btw 基本上任何前端后端框架学习都可以从这个项目里找到例子
    Allianzcortex
    Allianzcortex
    Oct 25, 2019
    31
    @Allianzcortex 不行要学一下利益相关了:给这个大项目的后端 flask 提过两个 PR,前端 vue 提过一个 PR LOL
    alfredhuo
    alfredhuo
    OP
    Oct 25, 2019
    33
    @magua thank you
    alfredhuo
    alfredhuo
    OP
    Oct 25, 2019
    34
    youngxhui
    youngxhui
    Oct 25, 2019
    36
    @cryingsky 感谢推荐我的项目。GinHello 适合新手学习 Gin 入门。🤣 。配套文章 : https://youngxhui.top/categories/gin/
    zohan
    zohan
    Oct 27, 2019
    37
    @alfredhuo 我们这边就是深入使用了 gin 之后,对 gin 进行了深入的改造,最后发现改的太多了,最后就自己搞了😂
    alfredhuo
    alfredhuo
    OP
    Oct 27, 2019
    38
    @youngxhui 谢谢
    alfredhuo
    alfredhuo
    OP
    Oct 27, 2019
    39
    @zohan 谢谢
    joseph1994
    joseph1994
    May 18, 2021
    40
    如果是想学前后端分离架构下的后端 REST API 开发,直接看 Docker 源码,现在叫做 Moby 项目,GitHub 上下载下来看就好了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1602 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 23:11 · PVG 07:11 · LAX 15:11 · JFK 18:11
    ♥ Do have faith in what you're doing.