{"id":20961339,"url":"https://github.com/perbu/go-sqlite-http","last_synced_at":"2025-09-11T13:05:49.066Z","repository":{"id":222112503,"uuid":"756247505","full_name":"perbu/go-sqlite-http","owner":"perbu","description":"non-oo reference http impl","archived":false,"fork":false,"pushed_at":"2024-02-12T11:43:30.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-13T06:44:04.871Z","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/perbu.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}},"created_at":"2024-02-12T09:30:15.000Z","updated_at":"2024-02-12T09:30:42.000Z","dependencies_parsed_at":"2024-02-12T12:58:17.464Z","dependency_job_id":null,"html_url":"https://github.com/perbu/go-sqlite-http","commit_stats":null,"previous_names":["perbu/go-sqlite-http"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/perbu/go-sqlite-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fgo-sqlite-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fgo-sqlite-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fgo-sqlite-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fgo-sqlite-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perbu","download_url":"https://codeload.github.com/perbu/go-sqlite-http/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fgo-sqlite-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274640911,"owners_count":25322843,"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-09-11T02:00:13.660Z","response_time":74,"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":[],"created_at":"2024-11-19T02:03:24.196Z","updated_at":"2025-09-11T13:05:49.044Z","avatar_url":"https://github.com/perbu.png","language":"Go","readme":"# Non-OO servers in Go\n\n\n## Typical Go server\n\n```go\n\npackage main\n\nimport (\n\t\"fmt\"\n\t\"golang.org/x/tools/go/types/typeutil\"\n\t\"net/http\"\n)\n\ntype Server struct {\n\tdependency database.Connection\n}\n\nfunc NewServer(dep database.Connection) *Server {\n\treturn \u0026Server{dependency: dep}\n}\n\nfunc (s *Server) RootHandler(w http.ResponseWriter, r *http.Request) {\n\t// do something with s.dependency:\n\ts.dependency.Query(\"SELECT * FROM users\")\n\tfmt.Fprintf(w, \"Hello, Users!\")\n}\n\nfunc main() {\n\tdep := database.NewConnection()\n\ts := NewServer(dep)\n\thttp.HandleFunc(\"/\", s.RootHandler)\n\thttp.ListenAndServe(\":8080\", nil)\n}\n\n```\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperbu%2Fgo-sqlite-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperbu%2Fgo-sqlite-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperbu%2Fgo-sqlite-http/lists"}