{"id":23130138,"url":"https://github.com/lufia/plug","last_synced_at":"2025-10-10T02:36:48.077Z","repository":{"id":240370449,"uuid":"802447821","full_name":"lufia/plug","owner":"lufia","description":"Package plug replaces functions, defined in the other packages, on testing.","archived":false,"fork":false,"pushed_at":"2025-03-16T13:04:57.000Z","size":77,"stargazers_count":16,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-27T00:30:21.709Z","etag":null,"topics":["go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lufia.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-05-18T10:18:36.000Z","updated_at":"2025-03-29T16:01:26.000Z","dependencies_parsed_at":"2024-05-21T05:42:24.747Z","dependency_job_id":null,"html_url":"https://github.com/lufia/plug","commit_stats":null,"previous_names":["lufia/mock","lufia/plug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lufia/plug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lufia%2Fplug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lufia%2Fplug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lufia%2Fplug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lufia%2Fplug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lufia","download_url":"https://codeload.github.com/lufia/plug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lufia%2Fplug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002537,"owners_count":26083401,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"],"created_at":"2024-12-17T10:13:40.914Z","updated_at":"2025-10-10T02:36:48.046Z","avatar_url":"https://github.com/lufia.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plug\n\nPackage plug replaces functions, defined in the other packages, on testing.\nThe idea underlying this library was heavy inspired from [tenntenn/testtime][testtime].\n\n[![GoDev][godev-image]][godev-url]\n\n## Usage\n\nSee [examples](https://github.com/lufia/plug/blob/main/test/example_test.go).\n\n```sh\ngo test -overlay \u003c(go run github.com/lufia/plug/cmd/plug@latest)\n```\n\nThen add below to **.gitignore**\n\n```txt\nplug\n```\n\n## Limitations\n\n* cyclic import: runtime, reflect, etc.\n* **go:linkname** functions: *time.Sleep*, etc.\n\n[godev-image]: https://pkg.go.dev/badge/github.com/lufia/plug\n[godev-url]: https://pkg.go.dev/github.com/lufia/plug\n[testtime]: https://github.com/tenntenn/testtime\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flufia%2Fplug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flufia%2Fplug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flufia%2Fplug/lists"}