Setting TCP timeout for SQL connection in Go
<p>When I connect to database (using standard go sql library) using VPN and VPN interface goes down, there's a 75 seconds timeout when I try to do SQL query, no matter if the interface goes up meanwhile. I'd like to decrease this timeout to some reasonable time, so my application won't be frozen for 75 seconds in such case.</p>

<pre><code>db, err := sql.Open(driverName, dataSourceName)
</code></pre>

<p>Is it possible to set it somehow via <code>db</code> variable?</p>