{"id":18665990,"url":"https://github.com/hadihammurabi/got","last_synced_at":"2025-11-06T11:30:46.299Z","repository":{"id":117363024,"uuid":"467788020","full_name":"hadihammurabi/got","owner":"hadihammurabi","description":"Golang result building","archived":false,"fork":false,"pushed_at":"2022-03-10T00:19:51.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T17:42:30.579Z","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/hadihammurabi.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":"2022-03-09T05:20:55.000Z","updated_at":"2022-03-09T05:42:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"61979595-1945-4e03-a995-9e2ed8f0ea86","html_url":"https://github.com/hadihammurabi/got","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadihammurabi%2Fgot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadihammurabi%2Fgot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadihammurabi%2Fgot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadihammurabi%2Fgot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hadihammurabi","download_url":"https://codeload.github.com/hadihammurabi/got/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239493706,"owners_count":19647995,"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":[],"created_at":"2024-11-07T08:29:54.186Z","updated_at":"2025-11-06T11:30:45.365Z","avatar_url":"https://github.com/hadihammurabi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# got\nGolang result building\n\n# Examples\n```go\nfunc IsOdd(num int) got.Result {\n\tif num%2 == 0 {\n\t\treturn got.Err(fmt.Sprintf(\"%d is not odd\", num))\n\t}\n\n\treturn got.Ok(true)\n}\n\nfunc GetAllContacts(num int) got.Result {\n\tresult := make(chan got.Result)\n\n\tgo func() {\n\t\tresp, err := goreq.Get(\"https://my-json-server.typicode.com/hadihammurabi/flutter-webservice/contacts\", nil)\n\t\tif err != nil {\n\t\t\tresult \u003c- got.Err(err.Error())\n\t\t}\n\t\tdefer resp.Body.Close()\n\n\t\tvar data interface{}\n\t\terr = resp.Json(\u0026data)\n\t\tif err != nil {\n\t\t\tresult \u003c- got.Err(err.Error())\n\t\t}\n\n\t\tresult \u003c- got.Ok(data)\n\t}()\n\n\tres := \u003c-result\n\treturn res\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadihammurabi%2Fgot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhadihammurabi%2Fgot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadihammurabi%2Fgot/lists"}