{"id":15938001,"url":"https://github.com/qawatake/intcast","last_synced_at":"2026-06-24T09:34:24.817Z","repository":{"id":185333502,"uuid":"673295982","full_name":"qawatake/intcast","owner":"qawatake","description":"Analyzer: intcast finds integer type cast that can cause overflow","archived":false,"fork":false,"pushed_at":"2023-10-20T14:21:03.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T03:24:53.543Z","etag":null,"topics":["go","golang","linter","staticanalysis"],"latest_commit_sha":null,"homepage":"","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/qawatake.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":"2023-08-01T10:04:52.000Z","updated_at":"2023-10-22T05:48:11.000Z","dependencies_parsed_at":"2023-08-01T14:54:03.864Z","dependency_job_id":"d47b4dca-122f-4c8c-b417-aaa1730d2297","html_url":"https://github.com/qawatake/intcast","commit_stats":null,"previous_names":["qawatake/intcast"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qawatake%2Fintcast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qawatake%2Fintcast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qawatake%2Fintcast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qawatake%2Fintcast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qawatake","download_url":"https://codeload.github.com/qawatake/intcast/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240258170,"owners_count":19772969,"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","linter","staticanalysis"],"created_at":"2024-10-07T05:20:35.379Z","updated_at":"2026-06-21T06:30:21.083Z","avatar_url":"https://github.com/qawatake.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# intcast\n\n`intcast` identifies integer type casts that can potentially cause overflow.\n\n```go\nfunc f(i int) uint {\n  return uint(i) // unsafe cast\n}\n```\n\n`intcast` also handles casts on defined types.\n\n```go\ntype MyInt int\nfunc f(i MyInt) uint {\n  return uint(i) // unsafe cast\n}\n```\n\n`intcast` ignores lines with ignore comments.\n\n```go\nfunc f(i int) uint {\n  //lint:ignore intcast reason\n  return uint(i)\n}\n```\n\n## How to use\n\n```sh\ngo install github.com/qawatake/intcast/cmd/intcast@latest\nintcast ./...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqawatake%2Fintcast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqawatake%2Fintcast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqawatake%2Fintcast/lists"}