{"id":19860634,"url":"https://github.com/goodluckxu-go/goapi","last_synced_at":"2026-01-19T09:07:28.828Z","repository":{"id":245774478,"uuid":"819191357","full_name":"goodluckxu-go/goapi","owner":"goodluckxu-go","description":"Go的API服务器可以生成开放的API文档 Go's API server can generate open API documents","archived":false,"fork":false,"pushed_at":"2026-01-14T10:02:26.000Z","size":1060,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T13:42:23.624Z","etag":null,"topics":["documentation","fastapi","framework","golang","openapi","openapi3","openapi31","swagger"],"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/goodluckxu-go.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":"security.go","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-24T02:43:37.000Z","updated_at":"2025-10-27T09:44:57.000Z","dependencies_parsed_at":"2024-07-15T04:32:35.369Z","dependency_job_id":"00f68d50-3e39-43e9-8920-1ba3f8265feb","html_url":"https://github.com/goodluckxu-go/goapi","commit_stats":{"total_commits":180,"total_committers":2,"mean_commits":90.0,"dds":0.005555555555555536,"last_synced_commit":"01e250722dffbafb40bc683ee8a56336d3ac7f0f"},"previous_names":["goodluckxu-go/goapi"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/goodluckxu-go/goapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodluckxu-go%2Fgoapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodluckxu-go%2Fgoapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodluckxu-go%2Fgoapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodluckxu-go%2Fgoapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goodluckxu-go","download_url":"https://codeload.github.com/goodluckxu-go/goapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodluckxu-go%2Fgoapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["documentation","fastapi","framework","golang","openapi","openapi3","openapi31","swagger"],"created_at":"2024-11-12T15:06:31.887Z","updated_at":"2026-01-19T09:07:28.823Z","avatar_url":"https://github.com/goodluckxu-go.png","language":"Go","readme":"# goapi\n使用OpenAPI3.1文档的HTTP框架\n\n使用说明:\n- [中文文档](docs/zh/index.md)\n## 用法\n~~~bash\ngo get github.com/goodluckxu-go/goapi/v2\n~~~\n## 功能\n- 实现了http服务，路由使用gin路由模式的前缀树方式实现\n- 集成swagger+openapi3.1.0文档的访问\n- 实现了openapi中验证和goapi程序验证的同步\n- 实现了自定义中间件\n- 实现了鉴权认证\n- 实现了路由组模式\n- 实现了多个程序模块组的模式\n- ......\n## 关于\n使用类似于Python中的FastAPI的API生成文档","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodluckxu-go%2Fgoapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoodluckxu-go%2Fgoapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodluckxu-go%2Fgoapi/lists"}