{"id":22363730,"url":"https://github.com/teran/go-http-client","last_synced_at":"2025-03-26T15:19:10.706Z","repository":{"id":230464289,"uuid":"779434374","full_name":"teran/go-http-client","owner":"teran","description":"HTTP Client for Go to ease interaction with web services, especially APIs","archived":false,"fork":false,"pushed_at":"2025-03-13T06:48:35.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T07:37:30.519Z","etag":null,"topics":["go","golang","http","http-client","httpclient"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teran.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":"2024-03-29T20:42:07.000Z","updated_at":"2025-03-13T06:48:37.000Z","dependencies_parsed_at":"2024-06-21T00:29:25.383Z","dependency_job_id":"c1c14f41-685a-4a4a-9558-7b8476d8fdc2","html_url":"https://github.com/teran/go-http-client","commit_stats":null,"previous_names":["teran/go-http-client"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teran%2Fgo-http-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teran%2Fgo-http-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teran%2Fgo-http-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teran%2Fgo-http-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teran","download_url":"https://codeload.github.com/teran/go-http-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245678902,"owners_count":20654738,"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","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":["go","golang","http","http-client","httpclient"],"created_at":"2024-12-04T17:16:58.517Z","updated_at":"2025-03-26T15:19:10.701Z","avatar_url":"https://github.com/teran.png","language":"Go","readme":"# go-http-client\n\n## Migration notice\n\nThis library is moved to [go-collection](https://github.com/teran/go-collection)\nrepository for unified experience and simplifying maintenance process.\nThis repository will **not** be deleted for backward compatibility.\n\n[![Go](https://github.com/teran/go-http-client/actions/workflows/go.yml/badge.svg)](https://github.com/teran/go-http-client/actions/workflows/go.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/teran/go-http-client)](https://goreportcard.com/report/github.com/teran/go-http-client)\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/teran/go-http-client)](https://pkg.go.dev/github.com/teran/go-http-client)\n\nHTTP Client for Go to ease interaction with web services, especially APIs\n\n## Usage example\n\n\u003c!-- markdownlint-disable MD010 --\u003e\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pkg/errors\"\n\tghc \"github.com/teran/go-http-client\"\n)\n\n// FIXME: Change this to your test JSON URL\nconst testURL = \"http://.........\"\n\nfunc main() {\n\tresp := map[string]string{}\n\terrResp := map[string]string{}\n\tstatusCode, err := ghc.New().\n\t\tBase(testURL).\n\t\tGet(\"/json\").\n\t\tDoJSON(s.ctx, nil, \u0026resp, \u0026errResp)\n\tif err != nil {\n\t\tpanic(errors.Wrap(err, fmt.Sprintf(\"%#v\", errResp)))\n\t}\n\n\tfmt.Printf(\"%#v\", resp)\n}\n\n```\n\u003c!-- markdownlint-enable MD010 --\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteran%2Fgo-http-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteran%2Fgo-http-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteran%2Fgo-http-client/lists"}