This is a created article in which the information may have evolved or changed.
Before using the ORM that comes with Beego, I feel there are some places that are not very satisfying, and want to try some new Orm and write a record.
A comparison between Xorm and Gorm:
P.s. What needs to be explained is that the contrast is very elementary, and the project is very early, also holding to try not to change the mentality, and do not want to get a good or inferior conclusion.
- The number of commits is similar, Gorm is a bit more
- Are all projects that started in 2013.
- Stars Gorm ahead
- It looks like Gorm has more feedback channels and is active
- Xorm's blog is better, but Gorm's documentation seems to be comprehensive.
- Recent submission frequency xorm better than Gorm
- The default supported database type Xorm more, but the PO master with a few MySQL Postgres SQLite are supported
Think about it, for a mature project may be gorm more suitable, but Xorm seems to be in the recent frequent commit, there is a want to chase the meaning.
I'll try Xorm first, I don't know why I chose this, maybe I want to try the new style. (Fog