Gorm: 可以直接从数据库表生成gorm的golang结构体吗?

Created on 27 May 2017  ·  3Comments  ·  Source: go-gorm/gorm

XORM有这个功能,gorm也有这个就完美了,对项目移植很有用

Most helpful comment

There are some tools existing, eg https://github.com/Shelnutt2/db2struct

Maybe you could just use that.

All 3 comments

同问,解决了吗?

同问,这个功能很重要

There are some tools existing, eg https://github.com/Shelnutt2/db2struct

Maybe you could just use that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

satb picture satb  ·  3Comments

rfyiamcool picture rfyiamcool  ·  3Comments

corvinusy picture corvinusy  ·  3Comments

sredxny picture sredxny  ·  3Comments

leebrooks0 picture leebrooks0  ·  3Comments