Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | database/sql: add examples for opening and testing a DB pool | Daniel Theophanes | 2018-11-16 | 1 | -0/+86 |
Show two larger application examples. One example that could be used in a CLI, the other in a long running service. These demonstarates different strategies for handling DB.Ping errors in context. Fixes #23738 Change-Id: Id01213caf1f47917239a7506b01d30e37db74d31 Reviewed-on: https://go-review.googlesource.com/c/101216 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |