* Update analytics-go dependency * Migrate from segment library v2 to v3 * Reinclude gorilla/handlers module * Fix missing module * Remove reference to outdated analytics module
11 строки
195 B
Go
11 строки
195 B
Go
// +build go1.6
|
|
|
|
package analytics
|
|
|
|
import "net/http"
|
|
|
|
// http clients on versions of go after 1.6 always support timeout.
|
|
func supportsTimeout(transport http.RoundTripper) bool {
|
|
return true
|
|
}
|