{"id":19765642,"url":"https://github.com/cold-bin/declaration-comment","last_synced_at":"2025-08-05T10:21:55.878Z","repository":{"id":244560717,"uuid":"815437526","full_name":"cold-bin/declaration-comment","owner":"cold-bin","description":"A static golang code analysis tool that detects whether declarations of exported variables, constants, functions, etc. have comments.","archived":false,"fork":false,"pushed_at":"2024-06-16T13:59:11.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T00:12:44.308Z","etag":null,"topics":[],"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/cold-bin.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":"2024-06-15T06:51:13.000Z","updated_at":"2024-06-19T13:16:46.000Z","dependencies_parsed_at":"2024-06-15T17:09:53.975Z","dependency_job_id":"3e45cc96-34d8-49c2-86ba-79c64353d0f4","html_url":"https://github.com/cold-bin/declaration-comment","commit_stats":null,"previous_names":["cold-bin/declaration-comment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cold-bin%2Fdeclaration-comment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cold-bin%2Fdeclaration-comment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cold-bin%2Fdeclaration-comment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cold-bin%2Fdeclaration-comment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cold-bin","download_url":"https://codeload.github.com/cold-bin/declaration-comment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241096357,"owners_count":19908969,"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-11-12T04:18:47.314Z","updated_at":"2025-02-28T03:46:34.640Z","avatar_url":"https://github.com/cold-bin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# declaration-comment\n\n## install\n\n`git clone` this project, and then run the following command to install :\n\n```shell\nmake\n```\n\n## usage\n\n`${pkg_path}` will be A directory path that needs to contain code files at the top-level directory\n```shell\ndeclarationcomment ${pkg_path}\n```\n\n## example\n\n```shell\n\u003e declarationcomment ./testdata/src/types/bad/types.go \n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:4:2: field [A] of type struct Map has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:7:2: field [A] of type struct Map has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:3:6: type Map has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:12:2: field [A] of type struct Slice has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:11:6: type Slice has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:17:2: field [A] of type struct Array has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:16:6: type Array has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:22:2: field [A1] of type struct Chan has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:23:3: field [A2] of type struct [A1] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:21:6: type Chan has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:32:2: field [A1] of type struct Complex has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:33:2: field [B1] of type struct Complex has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:34:3: field [A2] of type struct [B1] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:35:4: field [A3] of type struct [A2] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:37:4: field [B3] of type struct [A2] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:38:5: field [A4] of type struct [B3] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:41:5: field [B4] of type struct [B3] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:52:3: field [B2] of type struct [B1] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:55:2: field [C1] of type struct Complex has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:56:3: field [A2] of type struct [C1] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:57:3: field [B2] of type struct [C1] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:58:4: field [A3] of type struct [B2] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:59:5: field [A] of type struct [A3] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:62:5: field [A4] of type struct [A3] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:64:5: field [C4] of type struct [A3] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:65:6: field [A5] of type struct [C4] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:73:7: field [A6] of type struct [A5] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:74:7: field [B6] of type struct [A5] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:75:7: field [C6] of type struct [A5] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:76:7: field [D6] of type struct [A5] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:77:7: field [E6] of type struct [A5] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:78:7: field [E7] of type struct [A5] has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:101:2: field [D1 E1] of type struct Complex has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:102:2: field [D2 e2] of type struct Complex has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:105:2: field [F1] of type struct Complex has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:106:3: field [Get] of type interface [F1]  has no comment or documention\n/Users/liuhaibin/GolandProjects/declaration-comment/testdata/src/types/bad/types.go:31:6: type Complex has no comment or documention\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcold-bin%2Fdeclaration-comment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcold-bin%2Fdeclaration-comment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcold-bin%2Fdeclaration-comment/lists"}