go run .
go build
// install fresh pkg
go get github.com/pilu/fresh
// start watcher
fresh
Update the db config to connect to your own postgres db
// fill in your db config here
const (
host = "localhost"
user = "postgres"
password = "password"
dbname = "golangdb"
port = 5432
)