{"id":16812942,"url":"https://github.com/sjmudd/golintbug","last_synced_at":"2025-03-17T11:21:25.169Z","repository":{"id":66973102,"uuid":"326431488","full_name":"sjmudd/golintbug","owner":"sjmudd","description":"for public report of a golint bug I think I have found","archived":false,"fork":false,"pushed_at":"2021-01-03T15:12:51.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-22T07:49:18.937Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjmudd.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":"2021-01-03T14:54:14.000Z","updated_at":"2024-06-19T07:52:21.533Z","dependencies_parsed_at":"2023-05-16T07:45:25.983Z","dependency_job_id":null,"html_url":"https://github.com/sjmudd/golintbug","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmudd%2Fgolintbug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmudd%2Fgolintbug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmudd%2Fgolintbug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmudd%2Fgolintbug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjmudd","download_url":"https://codeload.github.com/sjmudd/golintbug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022650,"owners_count":20385134,"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-10-13T10:24:05.666Z","updated_at":"2025-03-17T11:21:25.142Z","avatar_url":"https://github.com/sjmudd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# golint bug\n\nThe bug seems to be that `golint` does not recognise a an iota-typed\nconstant comment on the same line as the definition.\n\nThe code builds happily yet `golint` complains:\n\n```\n$ golint main*.go\nmain.go:10:2: exported const GoLintBugConst1 should have comment (or a comment on this block) or be unexported\n```\n\nThe comment is correctly provided on the same line as the constant definition.\n\n- `go` reports `go version go1.15.5 darwin/amd64`\n- `golint` installed by `go get -u golang.org/x/lint/golint` so up to date as of 2021-01-03.\n\nSee: https://github.com/golang/lint/issues/502\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjmudd%2Fgolintbug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjmudd%2Fgolintbug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjmudd%2Fgolintbug/lists"}