clean code

This commit is contained in:
Cong Ding 2013-07-16 19:32:00 +02:00
parent 961f62d548
commit bac9bf59cf

View File

@ -292,7 +292,6 @@ func createTransporter(st int) transporter {
t.client = &http.Client{
Transport: tr,
}
return t
case HTTPS:
fallthrough
@ -315,11 +314,9 @@ func createTransporter(st int) transporter {
}
t.client = &http.Client{Transport: tr}
return t
}
// for complier
return transporter{}
return t
}
// Dial with timeout