{"id":34847330,"url":"https://github.com/caixw/go-http-routers-testing","last_synced_at":"2025-12-25T18:29:46.201Z","repository":{"id":57549817,"uuid":"92421290","full_name":"caixw/go-http-routers-testing","owner":"caixw","description":"Go 路由功能测试工具","archived":false,"fork":false,"pushed_at":"2024-03-05T01:24:41.000Z","size":212,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-06-20T15:40:52.471Z","etag":null,"topics":["bench","benchmark","go","golang","route","router","test","testing"],"latest_commit_sha":null,"homepage":"https://caixw.github.io/go-http-routers-testing/","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/caixw.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-25T16:11:45.000Z","updated_at":"2021-12-04T22:11:46.000Z","dependencies_parsed_at":"2024-06-23T02:48:42.997Z","dependency_job_id":null,"html_url":"https://github.com/caixw/go-http-routers-testing","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/caixw/go-http-routers-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caixw%2Fgo-http-routers-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caixw%2Fgo-http-routers-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caixw%2Fgo-http-routers-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caixw%2Fgo-http-routers-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caixw","download_url":"https://codeload.github.com/caixw/go-http-routers-testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caixw%2Fgo-http-routers-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28034417,"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","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bench","benchmark","go","golang","route","router","test","testing"],"created_at":"2025-12-25T18:29:43.457Z","updated_at":"2025-12-25T18:29:46.192Z","avatar_url":"https://github.com/caixw.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-http-routers-testing\n\nGo 路由的性能测试工具\n\n\u003chttps://caixw.github.io/go-http-routers-testing/\u003e\n\n## 安装\n\n```shell\ngo get github.com/caixw/go-http-routers-testing\n```\n\n### 运行测试\n\nmain.go 可以有以下参数：\n\n- test.benchtime 指定每个测试的运行时间；\n\n```shell\ngo run json.go -test.benchtime=5s\n```\n\n之后通过以下代码编译成 html：\n\n```shell\ngo run html.go\n```\n\n如果要本地查看数据，请运行：\n\n```shell\ngo run ./serve.go\n```\n\n## 协作\n\n与 api 定义有的内容定义在 apis 目录下，如果不同的风格需求可以在此目录下添加即可;\n\n路由定义在 routers 目录下，新路由只需要在此目录下定义 Load 方法即可；\n\n不要提交 /docs/data 下的数据，该数据由本人统一产生。\n\n## 版权\n\n本项目采用 [MIT](https://opensource.org/licenses/MIT) 开源授权许可证，完整的授权说明可在 [LICENSE](LICENSE) 文件中找到。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaixw%2Fgo-http-routers-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaixw%2Fgo-http-routers-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaixw%2Fgo-http-routers-testing/lists"}