Similar to the addition of DialTimeout to net package:
#240
|
func DialTimeout(net, addr string, timeout time.Duration) (Conn, error) { |
Would be nice to add some symmetry with DialTimeout for smtp package:
https://github.com/golang/go/blob/master/src/net/smtp/smtp.go#L43-L45
Similar to the addition of
DialTimeouttonetpackage:#240
go/src/pkg/net/dial.go
Line 78 in 964309e
Would be nice to add some symmetry with
DialTimeoutforsmtppackage:https://github.com/golang/go/blob/master/src/net/smtp/smtp.go#L43-L45