$ go install
$ dbsqlconnfail
In another window:
$ curl localhost:8080/1
OK
$ # kill postgres, let it restart
$ curl localhost:8080/1
FAIL
Restart postgres + dbsqlconnfail, then:
$ curl localhost:8080/2
OK
$ # kill postgres, let it restart
$ curl localhost:8080/2
OK