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

初学 Golang 开源:将数据库表转换为 struct,支持多 Tag

  •  
  •   licoycn ·
    Licoy · 2020-10-30 09:55:46 +08:00 · 1294 次点击
    这是一个创建于 1274 天前的主题,其中的信息可能已经有所发展或是发生改变。

    初学 Golang,想把数据库表结构转换为 go 的 struct,找了好几个不太符合自己的需求,于是动手撸了一个。

    开源地址: https://github.com/Licoy/dbstruct

    2 条回复    2020-10-31 08:31:16 +08:00
    wzw
        1
    wzw  
       2020-10-30 14:43:49 +08:00 via iPhone
    看看 goframe
    eudore
        2
    eudore  
       2020-10-31 08:31:16 +08:00
    高度相似的一堆,以前见过不少。

    https://github.com/gohouse/converter
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5658 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 02:26 · PVG 10:26 · LAX 19:26 · JFK 22:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.