{"id":13413925,"url":"https://github.com/tv42/mockhttp","last_synced_at":"2025-04-13T20:51:45.602Z","repository":{"id":57496930,"uuid":"1880841","full_name":"tv42/mockhttp","owner":"tv42","description":"Mock object for Go http.ResponseWriter","archived":false,"fork":false,"pushed_at":"2014-10-29T22:14:22.000Z","size":111,"stargazers_count":23,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T11:14:10.792Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tv42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-06-11T16:03:01.000Z","updated_at":"2023-11-14T18:39:38.000Z","dependencies_parsed_at":"2022-09-26T21:01:18.621Z","dependency_job_id":null,"html_url":"https://github.com/tv42/mockhttp","commit_stats":null,"previous_names":["tv42/mockhttp.go"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tv42%2Fmockhttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tv42%2Fmockhttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tv42%2Fmockhttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tv42%2Fmockhttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tv42","download_url":"https://codeload.github.com/tv42/mockhttp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782278,"owners_count":21160716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:01:52.851Z","updated_at":"2025-04-13T20:51:45.582Z","avatar_url":"https://github.com/tv42.png","language":"Go","readme":"# mockhttp -- Go package for unit testing HTTP serving\n\nUnit testing HTTP services written in Go means you need to call their\n`ServeHTTP` receiver. For this, you need something that fulfills the\n`http.ResponseWriter` interface, and you need to populate a\n`http.Request` struct with suitable-looking data. `mockhttp.go`\nhelps you do these tasks, without excessive copy-pasting.\n\nSee `mockhttp_test.go` for an example of usage.\n","funding_links":[],"categories":["Testing","测试相关","測試","测试","测试相关`测试库和测试数据集生成库`","Template Engines","\u003cspan id=\"测试-testing\"\u003e测试 Testing\u003c/span\u003e","Mock"],"sub_categories":["Mock","查询语","高級控制台界面","HTTP客户端","HTTP Clients","Advanced Console UIs","交流","高级控制台界面","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftv42%2Fmockhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftv42%2Fmockhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftv42%2Fmockhttp/lists"}