Skip to content

Commit

Permalink
Docs: Better docs for reqtest.Replay.
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Aug 8, 2024
1 parent 31bc14e commit 3282845
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reqtest/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func Record(rt http.RoundTripper, basepath string) requests.Transport {
// Replay returns an http.RoundTripper that reads its
// responses from text files in basepath.
// Responses are looked up according to a hash of the request.
// Response file names may optionally be prefixed with comments for better human organization.
func Replay(basepath string) requests.Transport {
return requests.Replay(basepath)
}
Expand Down

0 comments on commit 3282845

Please sign in to comment.