{"id":37142045,"url":"https://github.com/400f/sqlpassctxcheck","last_synced_at":"2026-01-14T16:40:45.886Z","repository":{"id":64301671,"uuid":"573906643","full_name":"400f/sqlpassctxcheck","owner":"400f","description":"A program for checking for sql module method call without ctx.","archived":false,"fork":false,"pushed_at":"2025-09-03T09:06:10.000Z","size":3596,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T10:24:49.073Z","etag":null,"topics":["golang","golangci-lint","linter","sql"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/400f/sqlpassctxcheck","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/400f.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-12-03T20:05:32.000Z","updated_at":"2025-10-04T04:37:42.000Z","dependencies_parsed_at":"2024-06-20T04:42:38.965Z","dependency_job_id":null,"html_url":"https://github.com/400f/sqlpassctxcheck","commit_stats":null,"previous_names":["resessh/sqlpassctxcheck"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/400f/sqlpassctxcheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/400f%2Fsqlpassctxcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/400f%2Fsqlpassctxcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/400f%2Fsqlpassctxcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/400f%2Fsqlpassctxcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/400f","download_url":"https://codeload.github.com/400f/sqlpassctxcheck/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/400f%2Fsqlpassctxcheck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28426138,"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":["golang","golangci-lint","linter","sql"],"created_at":"2026-01-14T16:40:45.145Z","updated_at":"2026-01-14T16:40:45.880Z","avatar_url":"https://github.com/400f.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqlpassctxcheck\n\nsqlpassctxcheck is a program for checking for sql module method call without ctx.\nUsing this tool, you can avoid falling outside of distributed tracing by forgetting to pass the context.\n\n## Install\n\n```\ngo install github.com/400f/sqlpassctxcheck/cmd/sqlpassctxcheck@latest\n```\n\n## Usage\n\n```go\npackage main\n\nimport \"database/sql\"\n\nfunc Call(db *sql.DB)  {\n  rows, err := db.Query(\"SELECT * FROM foo\")\n  if err != nil {\n    return err\n  }\n\n  // ...\n}\n```\n\n```\n$ go vet -vettool=(which sqlpassctxcheck) ./...\n\nmain.go:6:15 use (*database/sql.DB).QueryContext instead of (*database/sql.DB).Query\n```\n\n## Develop\n```sh\n$ go test -v ./\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F400f%2Fsqlpassctxcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F400f%2Fsqlpassctxcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F400f%2Fsqlpassctxcheck/lists"}