xorm/examples
Lunny Xiao bb639f6700 refactor query functions (#689)
* refactor query functions

* remove unused function

* remove unnecessary resetStatement and some improvements

* rename all Id to ID
2017-08-27 15:50:43 +08:00
..
cache.go refactor query functions (#689) 2017-08-27 15:50:43 +08:00
cachegoroutine.go refactor query functions (#689) 2017-08-27 15:50:43 +08:00
conversion.go golint fix 2017-01-09 09:58:23 +08:00
derive.go refactor query functions (#689) 2017-08-27 15:50:43 +08:00
find.go some gofmt & golint fixed 2017-01-09 09:52:23 +08:00
goroutine.go refactor query functions (#689) 2017-08-27 15:50:43 +08:00
maxconnect.go refactor query functions (#689) 2017-08-27 15:50:43 +08:00
README.md bug fixed 2016-03-16 23:05:25 +08:00
singlemapping.go refactor query functions (#689) 2017-08-27 15:50:43 +08:00
sync.go some gofmt & golint fixed 2017-01-09 09:52:23 +08:00
tables.go bug fixed 2016-03-16 23:05:25 +08:00

Xorm Examples

Notice: all the examples will ask you install extra package github.com/mattn/go-sqlite3, since it depends on cgo. You have to compile it after you install a c++ compile. Please see github.com/mattn/go-sqlite3.

And then, you can run the examples via go run xxx.go. Every go file is a standalone example.