{"id":50030783,"url":"https://github.com/zhiburt/gotestlint","last_synced_at":"2026-05-20T20:15:57.398Z","repository":{"id":57553993,"uuid":"172251981","full_name":"zhiburt/gotestlint","owner":"zhiburt","description":"Linter for golang(go).Which checks your functions is covered by tests or not.","archived":false,"fork":false,"pushed_at":"2019-04-04T13:41:21.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T16:47:08.186Z","etag":null,"topics":["go","golang","linter"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhiburt.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}},"created_at":"2019-02-23T18:58:29.000Z","updated_at":"2020-02-17T15:51:12.000Z","dependencies_parsed_at":"2022-09-26T18:51:08.651Z","dependency_job_id":null,"html_url":"https://github.com/zhiburt/gotestlint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zhiburt/gotestlint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiburt%2Fgotestlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiburt%2Fgotestlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiburt%2Fgotestlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiburt%2Fgotestlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhiburt","download_url":"https://codeload.github.com/zhiburt/gotestlint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhiburt%2Fgotestlint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33273887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T15:12:43.734Z","status":"ssl_error","status_checked_at":"2026-05-20T15:12:42.300Z","response_time":356,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["go","golang","linter"],"created_at":"2026-05-20T20:15:56.322Z","updated_at":"2026-05-20T20:15:57.393Z","avatar_url":"https://github.com/zhiburt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/zhiburt/gotestlint)](https://goreportcard.com/report/github.com/zhiburt/gotestlint)\n[![GoDoc](https://godoc.org/github.com/zhiburt/gotestlint?status.svg)](https://godoc.org/github.com/zhiburt/gotestlint)\n\n\ngotestlint is a linter for Go source code\n\nit shows functions not had been covered by tests\n\n## Usage\n\ninvoke gotestlint with one argument, that's path to package ```gotestlint``` doesn't go through your folders (don't recursive). The one checks only one package\n\n```\n$ gotestlint .\nlint.go:20:function LintFiles is not covered any tests\nlint.go:47:function String is not covered any tests\n```\n\nthere's a recursive variant for it\n\n```\ngotestlint ./...\nlint.go:27:function LintFiles is not covered any tests\n```\n\nIt also can check only a bit files, something like this\n\n```\ngotestlint lint.go test_folder/test_folder.go \nlint.go:20:function LintSource is not covered any tests\nlint.go:27:function LintFiles is not covered any tests\nlint.go:54:function String is not covered any tests\ntest_folder/test_folder.go:3:function SomeFunc is not covered any tests\n...\n```\n\nif all functions are covered by tests,\nit won't show any messages\n\n```\n$ gotestlint $GOPATH/src/github.com/your_the_best_project\n```\n\nyou can add option ```nolint: gotestlint``` in comment your function\nif function is marked such way, ```gotestlint``` ignores that function,\nfor example\n\n```\n// Foo ...\n// \n// nolint: gotestlint\nfunc Foo(){\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhiburt%2Fgotestlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhiburt%2Fgotestlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhiburt%2Fgotestlint/lists"}