Mark McGranaghan 434392e67c index work
2012-09-23 14:54:59 -07:00

11 lines
290 B
Bash

# First, be sure that you've installed Postgres
# and have a server running locally at port 5432.
# Then create an example database.
$ createdb gobyexample
# Now install the dependencies for the postgres
# example and try running it.
$ go get github.com/bmizerany/pq
$ go run postgres.go