These tests require go1.7
- Install
sqlboiler:go get -u -t github.com/vattle/sqlboiler - Clone this repository.
- Create a
sqlboiler.tomlin the root directory. - Run
./initdb.shto create your db and generate your models folder. - Run the benches:
go test -bench . -benchmem
sqlboiler.toml Example:
[postgres]
host="localhost"
port=5432
user="postgres"
pass="yourpassword"
dbname="boilbench"
Graphs can be found in the SQLBoiler readme.
The homepage for the SQLBoiler Golang ORM generator is located at: https://github.com/vattle/sqlboiler