{"id":24772283,"url":"https://github.com/ziyi2/go-demo","last_synced_at":"2025-08-22T07:44:07.120Z","repository":{"id":98890205,"uuid":"71538022","full_name":"ziyi2/go-demo","owner":"ziyi2","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-26T06:22:22.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T20:34:26.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ziyi2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-10-21T06:51:05.000Z","updated_at":"2016-10-21T07:47:27.000Z","dependencies_parsed_at":"2023-03-07T19:45:13.092Z","dependency_job_id":null,"html_url":"https://github.com/ziyi2/go-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ziyi2/go-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziyi2%2Fgo-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziyi2%2Fgo-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziyi2%2Fgo-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziyi2%2Fgo-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziyi2","download_url":"https://codeload.github.com/ziyi2/go-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziyi2%2Fgo-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271606293,"owners_count":24788970,"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-08-22T02:00:08.480Z","response_time":65,"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":[],"created_at":"2025-01-29T04:01:34.334Z","updated_at":"2025-08-22T07:44:07.081Z","avatar_url":"https://github.com/ziyi2.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-demo\n\n## 环境\n\n- [IDEA15搭建Go开发环境](http://studygolang.com/articles/6251)\n\n\n## Go Web框架\n\n- [go有哪些快速开发的web框架？](https://www.zhihu.com/question/27370112)文章告诉我们目前在Github上比较火的web框架有[martini](https://github.com/go-martini/martini),[beego](https://github.com/astaxie/beego),[revel](https://github.com/revel/revel),[gin](https://github.com/gin-gonic/gin)等.\n\n\n- [超全的Go Http路由框架性能比较](http://colobu.com/2016/03/23/Go-HTTP-request-router-and-web-framework-benchmark/)在路由处理性能方面的测试报告说明[gin](https://github.com/gin-gonic/gin)和[iris](https://github.com/kataras/iris)在方面性能非常好,[beego](https://github.com/astaxie/beego)相对于[revel](https://github.com/revel/revel)和[martini](https://github.com/go-martini/martini)性能较好.\n\n\n- [iris 真的是最快的Golang 路由框架吗?](http://colobu.com/2016/04/01/Is-iris-the-fastest-golang-router-library/)指出了[超全的Go Http路由框架性能比较](http://colobu.com/2016/03/23/Go-HTTP-request-router-and-web-framework-benchmark/)中测试方法的不足已经性能测试数据的一些不准确性.\n\n- [谁是最快的Go Web框架](http://colobu.com/2016/04/06/the-fastest-golang-web-framework/)说明[fasthttp](https://github.com/valyala/fasthttp)的性能不错,并且仍然说明基于[fasthttp](https://github.com/valyala/fasthttp)的[iris](https://github.com/kataras/iris)性能不错.\n\n- 如果想要知道更多关于web frameworks的性能对比请查看(Web Framework Benchmarks)[https://www.techempower.com/benchmarks/#section=data-r12\u0026hw=peak\u0026test=query]\n\n### 总结\n\n[gin](https://github.com/gin-gonic/gin)和[iris](https://github.com/kataras/iris)的性能都非常好,但是[iris](https://github.com/kataras/iris)是基于[fasthttp](https://github.com/valyala/fasthttp)的,迁移项目比较麻烦,[beego](https://github.com/astaxie/beego)和[revel](https://github.com/revel/revel)在国内比较普及.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziyi2%2Fgo-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziyi2%2Fgo-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziyi2%2Fgo-demo/lists"}