// WithTransport adds a custom transport to the Client.  It will fail if a
// previous option to create the transport has been configured.
WithTransport adds a custom transport to the Client.  It will fail if a
previous option to create the transport has been configured.
// WithTransport adds a custom transport to the Client . It will fail if a // previous option to create the transport has been configured .
func WithTransport(tr http.RoundTripper) ClientOption {
	return func(o *clientOptions) error {
		if err := o.checkTransport(); err != nil {
			return err
		}
		o.transport = tr
		return nil
	}
}
func WithTransport ( tr http . RoundTripper ) ClientOption { return func ( o * clientOptions ) error { if err := o . checkTransport ( ) ; err != nil { return err } o . transport = tr return nil } }
WithTransport adds a custom transport to the Client.
WithTransport adds a custom transport to the Client .