XORM - eXtra ORM for Go
Simple & Powerful ORM Framework for Go Programming Language

Quick Start

Library Installation

go get github.com/go-xorm/xorm

Xorm Tools Installation

go get github.com/go-xorm/cmd/xorm

Source Document

gowalker.org/github.com/go-xorm/xorm

godoc.org/github.com/go-xorm/xorm

Run and setup:

  1. Init orm orm, err := xorm.NewEngine("sqlite3", "./test.db")
  2. Sync database structs err = orm.Sync(new(User), new(Article))

Congratulations! You just get your Xorm running.

Please see Documentation for going further.

Features

LESS DEPENDENCY

Only depends github.com/go-xorm/core.

EASY USAGE

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

RICH FUNCTIONS

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

OPEN SOURCE

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

Well-known Customers

Friend Sites