ORM Selection in Golang project, Gorm xorm contrast

Source: Internet
Author: User
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.

  1. The number of commits is similar, Gorm is a bit more
  2. Are all projects that started in 2013.
  3. Stars Gorm ahead
  4. It looks like Gorm has more feedback channels and is active
  5. Xorm's blog is better, but Gorm's documentation seems to be comprehensive.
  6. Recent submission frequency xorm better than Gorm
  7. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.