- Create database named
cabspike
in Postgres. - Enable PostGIS by running the command
CREATE EXTENSION postgis;
- Create a table named drivers and insert a few records. See this for details.
- Start
pgbouncer
.
cd pgbouncer
pgbouncer -d pgbouncer.ini
cd ..
- Run the code.
go run src/read_write.go