var cURLDebug … func EnablecURLDebug() { … } func DisablecURLDebug() { … } // printcURL prints the cURL equivalent request to stderr. // It returns an error if the body of the request cannot // be read. // The caller MUST cancel the request if there is an error. func printcURL(req *http.Request) error { … }