Go中的ORM /类似ORM的库[关闭]

I'm working with a legacy Mysql DB with a lot of tables, and about to expose it as an REST api server under some privilege control using ACL. The server would be using Go for better concurrency support.

So is there a Go ORM library that supports inspecting legacy MySQLDB and generating model code that I can start with?

Or is there any other method to achieve same goal?

https://github.com/asdf072/struct-create This can generate struct code from MySQLDB

Have a look at https://github.com/jinzhu/gorm

A really cool ORM aims to be developer friendly written by me ;)