{"id":13601121,"url":"https://github.com/josharian/impl","last_synced_at":"2025-05-14T08:07:45.970Z","repository":{"id":18784929,"uuid":"21998379","full_name":"josharian/impl","owner":"josharian","description":"impl generates method stubs for implementing an interface.","archived":false,"fork":false,"pushed_at":"2024-06-24T23:29:12.000Z","size":70,"stargazers_count":1063,"open_issues_count":5,"forks_count":90,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-14T03:12:13.339Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/josharian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2014-07-19T00:37:33.000Z","updated_at":"2025-04-26T15:59:37.000Z","dependencies_parsed_at":"2023-01-13T20:00:41.349Z","dependency_job_id":"17165c6f-f1bf-4ef4-9ff9-8f5ec920986b","html_url":"https://github.com/josharian/impl","commit_stats":{"total_commits":45,"total_committers":25,"mean_commits":1.8,"dds":0.7555555555555555,"last_synced_commit":"fe5f4306088f5afdca704014ff0326063f70dc2d"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josharian%2Fimpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josharian%2Fimpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josharian%2Fimpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josharian%2Fimpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josharian","download_url":"https://codeload.github.com/josharian/impl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254101557,"owners_count":22014908,"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-08-01T18:00:56.032Z","updated_at":"2025-05-14T08:07:40.960Z","avatar_url":"https://github.com/josharian.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"`impl` generates method stubs for implementing an interface.\n\n```bash\ngo install github.com/josharian/impl@latest\n```\n\nSample usage:\n\n```bash\n$ impl 'f *File' io.ReadWriteCloser\nfunc (f *File) Read(p []byte) (n int, err error) {\n\tpanic(\"not implemented\")\n}\n\nfunc (f *File) Write(p []byte) (n int, err error) {\n\tpanic(\"not implemented\")\n}\n\nfunc (f *File) Close() error {\n\tpanic(\"not implemented\")\n}\n\n# You can also provide a full name by specifying the package path.\n# This helps in cases where the interface can't be guessed\n# just from the package name and interface name.\n$ impl 's *Source' golang.org/x/oauth2.TokenSource\nfunc (s *Source) Token() (*oauth2.Token, error) {\n    panic(\"not implemented\")\n}\n```\n\nYou can use `impl` from Vim with [vim-go](https://github.com/fatih/vim-go) or\n[vim-go-impl](https://github.com/rhysd/vim-go-impl)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosharian%2Fimpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosharian%2Fimpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosharian%2Fimpl/lists"}