{"id":22589134,"url":"https://github.com/timothystiles/ditto","last_synced_at":"2025-08-26T01:02:19.675Z","repository":{"id":216226813,"uuid":"740784579","full_name":"TimothyStiles/ditto","owner":"TimothyStiles","description":"A Go package for mockless 3rd party API testing.","archived":false,"fork":false,"pushed_at":"2024-01-20T17:24:26.000Z","size":44,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-02T18:33:23.062Z","etag":null,"topics":["go","golang","mock","testing"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/TimothyStiles/ditto","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/TimothyStiles.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-01-09T03:57:49.000Z","updated_at":"2024-01-20T00:54:38.000Z","dependencies_parsed_at":"2024-06-21T19:22:23.545Z","dependency_job_id":null,"html_url":"https://github.com/TimothyStiles/ditto","commit_stats":null,"previous_names":["timothystiles/ditto"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyStiles%2Fditto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyStiles%2Fditto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyStiles%2Fditto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyStiles%2Fditto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimothyStiles","download_url":"https://codeload.github.com/TimothyStiles/ditto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246074089,"owners_count":20719607,"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":["go","golang","mock","testing"],"created_at":"2024-12-08T08:12:24.259Z","updated_at":"2025-03-28T17:45:22.857Z","avatar_url":"https://github.com/TimothyStiles.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ditto\n\nDitto is a dead simple code-gen free, mock free, CLI tool free, API call caching package for testing 3rd party APIs in Go.\n\nYou shouldn't have to mock 3rd party APIs to test your code. Ditto caches API responses for you to use in your tests.\n\nAll you have to do is replace your API client's `http.Client` with `ditto.Client` when writing your tests and you're good to go. Ditto checks if the request has been made before and if so, returns the cached response. If not, it makes the request and caches the response for you to run your tests against later on.\n\n\n## Install \n\n```bash\ngo get github.com/TimothyStiles/ditto\n```\n\n## Usage\nhttps://github.com/TimothyStiles/ditto/blob/da8d0f083d92b16aa99029b9dfbc8edb862bbf5b/example_test.go#L11-L24\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothystiles%2Fditto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimothystiles%2Fditto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothystiles%2Fditto/lists"}