<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/database/sql/example_service_test.go, branch main</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2024-02-28T20:21:26Z</updated>
<entry>
<title>database/sql: add error check</title>
<updated>2024-02-28T20:21:26Z</updated>
<author>
<name>guoguangwu</name>
<email>guoguangwu@magic-shield.com</email>
</author>
<published>2024-02-27T01:15:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=88b2f25005f65343d9b73186e8f5c1e25554e233'/>
<id>urn:sha1:88b2f25005f65343d9b73186e8f5c1e25554e233</id>
<content type='text'>
Change-Id: Ib9f7a1a4bf23f76457dabf85610f4799502631dc
GitHub-Last-Rev: afbb86fde12d2eeaa8121c25787b0e9c290edbc7
GitHub-Pull-Request: golang/go#65947
Reviewed-on: https://go-review.googlesource.com/c/go/+/566857
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>database/sql: add examples for opening and testing a DB pool</title>
<updated>2018-11-16T17:17:09Z</updated>
<author>
<name>Daniel Theophanes</name>
<email>kardianos@gmail.com</email>
</author>
<published>2018-03-16T17:57:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=8d335084cc58c8167b12ce5d1791bfc6db1355f2'/>
<id>urn:sha1:8d335084cc58c8167b12ce5d1791bfc6db1355f2</id>
<content type='text'>
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 &lt;bradfitz@golang.org&gt;
</content>
</entry>
</feed>
