{"id":18749280,"url":"https://github.com/mengdu/h3","last_synced_at":"2025-08-08T05:10:46.623Z","repository":{"id":215581040,"uuid":"738512499","full_name":"mengdu/h3","owner":"mengdu","description":"A simple encapsulation of Golang HTTP client.","archived":false,"fork":false,"pushed_at":"2024-01-05T07:00:32.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T01:51:15.268Z","etag":null,"topics":["client","h3","http"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/mengdu/h3","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/mengdu.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}},"created_at":"2024-01-03T11:56:38.000Z","updated_at":"2024-01-05T08:34:50.000Z","dependencies_parsed_at":"2024-01-05T09:24:49.811Z","dependency_job_id":"a74e053c-5db5-47ea-ab79-5b8c334f7faf","html_url":"https://github.com/mengdu/h3","commit_stats":null,"previous_names":["mengdu/h3"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mengdu/h3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengdu%2Fh3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengdu%2Fh3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengdu%2Fh3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengdu%2Fh3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mengdu","download_url":"https://codeload.github.com/mengdu/h3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengdu%2Fh3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269366853,"owners_count":24405250,"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-08T02:00:09.200Z","response_time":72,"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":["client","h3","http"],"created_at":"2024-11-07T17:07:03.109Z","updated_at":"2025-08-08T05:10:46.590Z","avatar_url":"https://github.com/mengdu.png","language":"Go","readme":"# H3\n\nA simple encapsulation of Golang HTTP client.\n\n```go\npackage demo\n\nimport \"fmt\"\n\nfunc main() {\n\tclient := h3.New()\n\tclient.BaseURL = \"https://httpbin.org\"\n\n\treq := client.Req(\"POST\", \"/anything\")\n\t// application/json\n\tform := h3.Json{}\n\tif err := form.Set(map[string]interface{}{\n\t\t\"a\": 1,\n\t\t\"b\": []string{\"1\", \"2\", \"3\"},\n\t}); err != nil {\n\t\tpanic(err)\n\t}\n\treq.Body = form.Form()\n\n\tres, err := client.Do(req)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tdata := map[string]interface{}{}\n\tif err := res.Json(\u0026data); err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(\"%#v\\n\", data)\n}\n```\n\n[More examples](./examples/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmengdu%2Fh3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmengdu%2Fh3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmengdu%2Fh3/lists"}