Documentation ¶ Index ¶ func RecordHTTP(m *testing.M, filename string) int Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RecordHTTP ¶ func RecordHTTP(m *testing.M, filename string) int RecordHTTP wraps tests and records all http requests made with the default http transport in a file with the given name. If the file exists, requests are replayed. Types ¶ This section is empty. Source Files ¶ View all Source files vcr.go Click to show internal directories. Click to hide internal directories.