Examples about how to use xorm
Go to file
2020-02-26 23:12:13 +08:00
cache init projects 2020-02-26 23:12:13 +08:00
cache_gorountine init projects 2020-02-26 23:12:13 +08:00
conversion init projects 2020-02-26 23:12:13 +08:00
derive init projects 2020-02-26 23:12:13 +08:00
find init projects 2020-02-26 23:12:13 +08:00
goroutine init projects 2020-02-26 23:12:13 +08:00
mapping init projects 2020-02-26 23:12:13 +08:00
max_connect init projects 2020-02-26 23:12:13 +08:00
sync init projects 2020-02-26 23:12:13 +08:00
tables init projects 2020-02-26 23:12:13 +08:00
README.md init projects 2020-02-26 23:12:13 +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.