mirror of
https://github.com/hanzoai/insights-go.git
synced 2026-09-30 22:46:12 +00:00
The module declares go 1.27.1 and the adapter image follows. go fix applied the modernizers and left ptrString and ptrBool with no callers, so they are gone; omitzero is not applied, since it changes what the JSON says. Co-authored-by: Hanzo Dev <[email protected]>
11 lines
195 B
Go
11 lines
195 B
Go
//go:build go1.6
|
|
|
|
package insights
|
|
|
|
import "net/http"
|
|
|
|
// http clients on versions of go after 1.6 always support timeout.
|
|
func supportsTimeout(transport http.RoundTripper) bool {
|
|
return true
|
|
}
|