Home

Awesome

sqlboiler-crdb

Installation

Installation is simple, just use go get. Once the binary is in your path sqlboiler will be able to use it if you run it with the driver name crdb.

# Install sqlboiler crdb driver
go get -u github.com/glerchundi/sqlboiler-crdb/v4
# Generate models
sqlboiler crdb

It's configuration keys in sqlboiler are simple:

[crdb]
user="root"
pass=""
host="localhost"
port=26257
dbname="mydatabase"
sslmode="disable"

Notes: