XORM - eXtra ORM for Go

A Simple and Powerful ORM for Go

Get Started

Open-source BSD-3 Licensed

Baseline

Easy to Use

By join function design, use less codes to finish DB operations.

Typography

Rich Features

Support cache, transaction, Optimistic Lock, Multiple Database support, Reverse and etc.

Typography

Open Source

Join, share and learn by involving this great project and be a contributor.

Installation

go get xorm.io/xorm # install xorm

go get xorm.io/builder # install builder

go get xorm.io/reverse # install reverse tool

Run

Initilization

orm, err := xorm.NewEngine("sqlite3", "./test.db")

Synchronize

err = orm.Sync2(new(User), new(Article))

Now, you get it.

Who are using XORM

Support XORM

Help support the team developing XORM by OpenCollective

Contributors