Skip to content

Commit

Permalink
doc: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hhuang-rayark committed Aug 30, 2023
1 parent 30c7438 commit 0f1df77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func NewTransport(baseRoundTripper http.RoundTripper, source TokenSource, auther
}

// newTransport returns a new Transport without checking whether there is an error
// newTransport is only for NewTransport & NewClient
func newTransport(baseRoundTripper http.RoundTripper, source TokenSource, auther Auther) *Transport {
return &Transport{
Base: baseRoundTripper,
Expand Down

0 comments on commit 0f1df77

Please sign in to comment.