{"id":50273,"library":"dnaeon-go-vcr","title":"Go VCR","description":"A Go library for recording and replaying HTTP interactions for testing purposes.","status":"active","version":"1.2.0","language":"go","source_language":null,"source_url":"https://github.com/dnaeon/go-vcr","tags":["testing","http","vcr","recording","replay"],"install":[{"cmd":"go get github.com/dnaeon/go-vcr","lang":"bash","label":"Install github.com/dnaeon/go-vcr"}],"dependencies":[],"imports":[{"symbol":"vcr","correct":"github.com/dnaeon/go-vcr"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"github.com/dnaeon/go-vcr/recorder\"\n)\n\nfunc main() {\n\tr, err := recorder.New(\"fixtures/cassette\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer r.Stop()\n\n\tclient := &http.Client{Transport: r}\n\tresp, err := client.Get(\"http://example.com\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(resp.Status)\n}","lang":"go","description":"Records an HTTP request to a cassette file and replays it on subsequent runs."},"warnings":[],"env_vars":null,"search_vec":"'go':1,4 'http':10,16 'interact':11 'librari':5 'purpos':14 'record':7,18 'replay':9,19 'test':13,15 'vcr':2,17","created_at":"2026-06-15T04:47:02.002557+00:00","updated_at":"2026-06-15T04:47:02.002557+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dnaeon/go-vcr","github":"https://github.com/dnaeon/go-vcr","docs":"https://pkg.go.dev/github.com/dnaeon/go-vcr#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}