~samwhited/paddle

4600a21f538363085f72b95dd0fa0ac752b7bb53 — Sam Whited 2 years ago a005528
paddle: improve NewRoundTripper docs
1 files changed, 2 insertions(+), 1 deletions(-)

M roundtripper.go
M roundtripper.go => roundtripper.go +2 -1
@@ 24,7 24,8 @@ const (
// If a transport is nil, http.DefaultTransport is used instead.
//
// This is a lower level API exposed for advanced users; most of the time, users
// will want to create a Client instead.
// will want to create a Client and then use it with one of the subpackages
// instead.
func NewRoundTripper(transport http.RoundTripper, vendorID int, vendorAuthCode string) http.RoundTripper {
	if transport == nil {
		transport = http.DefaultTransport