{"id":36532915,"url":"https://github.com/ganodermaking/easyrest","last_synced_at":"2026-01-12T03:03:26.077Z","repository":{"id":57522393,"uuid":"253015143","full_name":"ganodermaking/easyrest","owner":"ganodermaking","description":"go easy rest","archived":false,"fork":false,"pushed_at":"2020-04-05T02:44:05.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T16:46:41.297Z","etag":null,"topics":["framework","go","restful","web"],"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/ganodermaking.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":"2020-04-04T14:15:55.000Z","updated_at":"2024-06-20T16:46:41.298Z","dependencies_parsed_at":"2022-08-28T17:33:48.745Z","dependency_job_id":null,"html_url":"https://github.com/ganodermaking/easyrest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ganodermaking/easyrest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganodermaking%2Feasyrest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganodermaking%2Feasyrest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganodermaking%2Feasyrest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganodermaking%2Feasyrest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ganodermaking","download_url":"https://codeload.github.com/ganodermaking/easyrest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ganodermaking%2Feasyrest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["framework","go","restful","web"],"created_at":"2026-01-12T03:03:26.023Z","updated_at":"2026-01-12T03:03:26.071Z","avatar_url":"https://github.com/ganodermaking.png","language":"Go","readme":"# easyrest\na easy restful framework\n\n# install\n```shell\ngo get -u github.com/ganodermaking/easyrest\n```\n\n# use\n```go\nfunc main() {\n\tr := easyrest.New()\n\tv1 := r.Group(\"/api/v1\")\n\t{\n\t\tv1.GET(\"/users/:id([0-9]+)/:name([a-z]+)\", func(c *easyrest.Context) {\n\t\t\tc.JSON(http.StatusOK, easyrest.H{\n\t\t\t\t\"id\":   c.Query(\"id\"),\n\t\t\t\t\"name\": c.Query(\"name\"),\n\t\t\t})\n\t\t})\n\n\t\tv1.POST(\"/users/login\", func(c *easyrest.Context) {\n\t\t\tc.JSON(http.StatusOK, easyrest.H{\n\t\t\t\t\"username\": c.PostForm(\"username\"),\n\t\t\t\t\"password\": c.PostForm(\"password\"),\n\t\t\t})\n\t\t})\n\t}\n\n\tr.Run(\":5000\")\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganodermaking%2Feasyrest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fganodermaking%2Feasyrest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganodermaking%2Feasyrest/lists"}