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

koalacxr picture koalacxr  ·  3Comments

Ganitzsh picture Ganitzsh  ·  3Comments

fieryorc picture fieryorc  ·  3Comments

izouxv picture izouxv  ·  3Comments

hypertornado picture hypertornado  ·  3Comments