{"id":21762162,"url":"https://github.com/daniilty/go-exported-local-variables","last_synced_at":"2025-07-09T17:41:30.976Z","repository":{"id":109728223,"uuid":"339420075","full_name":"daniilty/go-exported-local-variables","owner":"daniilty","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-24T09:11:58.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T01:20:30.195Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daniilty.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":"2021-02-16T14:11:54.000Z","updated_at":"2021-02-24T09:12:01.000Z","dependencies_parsed_at":"2023-05-07T09:15:27.329Z","dependency_job_id":null,"html_url":"https://github.com/daniilty/go-exported-local-variables","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilty%2Fgo-exported-local-variables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilty%2Fgo-exported-local-variables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilty%2Fgo-exported-local-variables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilty%2Fgo-exported-local-variables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniilty","download_url":"https://codeload.github.com/daniilty/go-exported-local-variables/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739944,"owners_count":20501990,"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-26T12:11:14.549Z","updated_at":"2025-03-21T04:41:48.853Z","avatar_url":"https://github.com/daniilty.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Installation\r\n\r\n```bash\r\n$ go get -u github.com/daniilty/go-exported-local-variables/...\r\n```\r\n\r\n## Usage\r\n\r\n```bash\r\n$ go-exported-local-variables -- path/to/file.go\r\n```\r\n\r\n**Or**\r\n```bash\r\n$ go-exported-local-variables ./...\r\n```\r\nIf you wish to run it on all your project's files\r\n\r\n## Sample of a bad code\r\n\r\n```golang\r\nfunc Incorrect() string {\r\n        A := \"Oh it seems not so good\" \\\\ sample.go:10:2: local variable A should not be exported\r\n\r\n        return A\r\n}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniilty%2Fgo-exported-local-variables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniilty%2Fgo-exported-local-variables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniilty%2Fgo-exported-local-variables/lists"}