{"id":37146533,"url":"https://github.com/polldo/patweb","last_synced_at":"2026-01-14T17:03:27.109Z","repository":{"id":129957283,"uuid":"518328339","full_name":"polldo/patweb","owner":"polldo","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-08T23:12:16.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T16:41:07.649Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/polldo.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":"2022-07-27T05:58:45.000Z","updated_at":"2022-07-28T21:08:38.000Z","dependencies_parsed_at":"2023-06-25T20:58:16.917Z","dependency_job_id":null,"html_url":"https://github.com/polldo/patweb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/polldo/patweb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polldo%2Fpatweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polldo%2Fpatweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polldo%2Fpatweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polldo%2Fpatweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polldo","download_url":"https://codeload.github.com/polldo/patweb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polldo%2Fpatweb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28427183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2026-01-14T17:03:26.357Z","updated_at":"2026-01-14T17:03:27.090Z","avatar_url":"https://github.com/polldo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repo is intended to gather feedback and opinions on few good practices and techniques that could be ***helpful to craft better web servers in Go***.\n\nParts of the minimal web framework have been extracted and adapted from the excellent [ardanlabs/service](https://github.com/ardanlabs/service) repo.\n\nThe technique I'm trying to fit into the web server is the `opaque errors` one, by Dave Cheney.\n(And yes, I'm a big fan of both Dave and Bill :smiley:)\n\nThe two main concepts on error handling that led me to this implementation are:\n- handle errors once, in a centralized fashion using dedicated middleware.\n- leverage opaque errors to decouple errors definitions from the web framework.\n\n**Refs**:\n- https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully\n- https://www.ardanlabs.com/blog/2017/05/design-philosophy-on-logging.html\n- https://github.com/ardanlabs/service\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolldo%2Fpatweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolldo%2Fpatweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolldo%2Fpatweb/lists"}