mirror of
https://github.com/gogs/gogs.git
synced 2025-05-18 21:41:40 +00:00
14 lines
199 B
Go
14 lines
199 B
Go
// +build go1.3
|
|
|
|
package mssql
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
func init() {
|
|
createDialer = func(p *connectParams) dialer {
|
|
return tcpDialer{&net.Dialer{Timeout: p.dial_timeout, KeepAlive: p.keepAlive}}
|
|
}
|
|
}
|