$ go doc http.Client.Jar
struct Client {
// Jar specifies the cookie jar.
//
// The Jar is used to insert relevant cookies into every
// outbound Request and is updated with the cookie values
// of every inbound Response. The Jar is consulted for every
// redirect that the Client follows.
//
// If Jar is nil, cookies are only sent if they are explicitly
// set on the Request.
Jar CookieJar
}
$
In general go doc prints Go or pseudo-Go output. struct Client is not Go, it's C.
It would also be nice to print ... other fields elided ... on a line before the closing brace, to make clear that there are other fields in the type.
In general go doc prints Go or pseudo-Go output.
struct Client
is not Go, it's C.It would also be nice to print
... other fields elided ...
on a line before the closing brace, to make clear that there are other fields in the type./cc @robpike
The text was updated successfully, but these errors were encountered: