{"id":4537251,"name":"github.com/switchupcb/copygen/examples","ecosystem":"go","description":null,"homepage":"https://github.com/switchupcb/copygen","licenses":"AGPL-3.0,MIT-0","normalized_licenses":["AGPL-3.0","MIT-0"],"repository_url":"https://github.com/switchupcb/copygen","keywords_array":[],"namespace":"github.com/switchupcb/copygen","versions_count":0,"first_release_published_at":null,"latest_release_published_at":"2026-09-12T12:54:02.615Z","latest_release_number":null,"latest_published_release_number":null,"last_synced_at":"2026-09-12T12:54:03.268Z","created_at":"2022-07-08T02:23:08.570Z","updated_at":"2026-09-18T16:46:27.994Z","registry_url":"https://pkg.go.dev/github.com/switchupcb/copygen/examples","install_command":"go get github.com/switchupcb/copygen/examples","documentation_url":"https://pkg.go.dev/github.com/switchupcb/copygen/examples#section-documentation","metadata":{},"repo_metadata":{"id":37633761,"uuid":"408656832","full_name":"switchupcb/copygen","owner":"switchupcb","description":"Copygen generates code based on Go types. Generate type-based code to copy values from type to type and fields from struct to struct by default (copier without reflection).","archived":false,"fork":false,"pushed_at":"2025-03-06T16:12:08.000Z","size":417,"stargazers_count":407,"open_issues_count":3,"forks_count":22,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-09-12T12:45:10.848Z","etag":null,"topics":["code-generation","code-generator","copy","generator","go","golang"],"latest_commit_sha":null,"homepage":"https://switchupcb.com/copygen-license-exception/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/switchupcb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2021-09-21T01:51:04.000Z","updated_at":"2026-09-09T17:12:37.000Z","dependencies_parsed_at":"2024-01-08T15:02:58.446Z","dependency_job_id":"9301625e-4822-43b3-9418-0676661f553c","html_url":"https://github.com/switchupcb/copygen","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/switchupcb/copygen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/switchupcb","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37346016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-15T02:00:05.939Z","response_time":113,"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"},"owner_record":{"login":"switchupcb","name":"SwitchUpCB","uuid":"81384235","kind":"user","description":"OPEN SOURCE MADE ME HOMELESS!","email":"","website":"https://switchupcb.com","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/81384235?u=d0416b58493440557ed96806aca341a3f805177b\u0026v=4","repositories_count":11,"last_synced_at":"2024-05-01T11:02:35.896Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/switchupcb","funding_links":["https://github.com/sponsors/switchupcb"],"total_stars":441,"followers":23,"following":7,"created_at":"2022-11-15T15:40:21.378Z","updated_at":"2024-05-01T11:02:37.844Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/switchupcb","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/switchupcb/repositories"},"tags":[{"name":"v0.4.1","sha":"5abea724a1b63b9a42a60ad21827306708f20c66","kind":"tag","published_at":"2025-02-26T00:39:24.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.4.1","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.4.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.4.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.4.1/manifests"},{"name":"v0.4.0","sha":"e82426959d71c17727953942c1cf098be584a658","kind":"commit","published_at":"2022-06-27T09:36:51.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.4.0","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.4.0/manifests"},{"name":"v0.3.9","sha":"ea03ecfaa3468b66e34a9d41c908a91fc7f28044","kind":"commit","published_at":"2022-06-22T07:52:00.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.3.9","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.3.9","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.3.9","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.9","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.9/manifests"},{"name":"v0.3.8","sha":"7b25c1c4964c6fb24418afce54fde473b335238d","kind":"commit","published_at":"2022-06-07T20:52:13.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.3.8","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.3.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.3.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.8/manifests"},{"name":"v0.3.7","sha":"e90b5edf35632c4164ebf4ef84584ef7fe314eb5","kind":"commit","published_at":"2022-05-22T21:01:07.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.3.7","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.3.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.3.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.7/manifests"},{"name":"v0.3.6","sha":"7b6d071e5e86e895e3e97c913c3e8f4a10d698ca","kind":"commit","published_at":"2022-05-17T15:29:42.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.3.6","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.3.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.3.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.6/manifests"},{"name":"v0.3.5","sha":"7267ca29d61ed1f8cfc67ca343dfccd467289a65","kind":"commit","published_at":"2022-05-05T20:21:37.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.3.5","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.3.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.3.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.5/manifests"},{"name":"v0.3.4","sha":"800b36472b3384226323ae9341f402563a15f27d","kind":"commit","published_at":"2022-04-29T23:00:26.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.3.4","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.3.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.3.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.4/manifests"},{"name":"v0.3.3","sha":"13246ef64be430804539485ea43d19adee480b4c","kind":"commit","published_at":"2022-04-28T07:13:40.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.3.3","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.3.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.3.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.3/manifests"},{"name":"v0.3.2","sha":"8c0aac2d33ba3bcd63c734eb4ab647143407cf0d","kind":"commit","published_at":"2022-04-25T01:17:54.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.3.2","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.3.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.2/manifests"},{"name":"v0.3.1","sha":"9b3f2e8c497c319845fb312e4d9c950e00ea7257","kind":"commit","published_at":"2022-04-23T23:17:20.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.3.1","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.1/manifests"},{"name":"v0.3.0","sha":"a84c4327e1f1cde25bc3c381c3333a29dba2eb55","kind":"commit","published_at":"2022-04-14T00:45:04.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.3.0","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.3.0/manifests"},{"name":"v0.2.4","sha":"d4eade6963a80a3fb5bc156e83404b3c80e4bec9","kind":"commit","published_at":"2021-10-26T04:00:42.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.2.4","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.2.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.2.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.2.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.2.4/manifests"},{"name":"v0.2.3","sha":"03fe89e27e7075e7bf4cebf56e20717941a8e73e","kind":"tag","published_at":"2021-10-19T02:37:47.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.2.3","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.2.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.2.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.2.3/manifests"},{"name":"v0.2.2","sha":"75475080d601835cf7048b273f12a4212da7e9c2","kind":"tag","published_at":"2021-10-17T03:49:37.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.2.2","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.2.2/manifests"},{"name":"v0.2.1","sha":"4e71cc9990c5495dff9d0d4a7ab29117146208c3","kind":"commit","published_at":"2021-10-09T22:31:18.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.2.1","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.2.1/manifests"},{"name":"v0.2.0","sha":"fddef4aab37f4d0e268bdc8a833dc06907457969","kind":"commit","published_at":"2021-10-05T08:31:22.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.2.0","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"119f2ae50699857f41b8b4c4a5ea8491ccc099af","kind":"commit","published_at":"2021-09-28T19:56:16.000Z","download_url":"https://codeload.github.com/switchupcb/copygen/tar.gz/v0.1.0","html_url":"https://github.com/switchupcb/copygen/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/switchupcb/copygen@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-09-18T16:46:27.994Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":9.345852080216646,"dependent_packages_count":6.999148183520997,"stargazers_count":2.030555409034642,"forks_count":3.5427260596361316,"average":5.479570433102104},"purl":"pkg:golang/github.com/switchupcb/copygen/examples","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/switchupcb/copygen/examples","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/switchupcb/copygen/examples","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/switchupcb/copygen/examples/dependencies","status":null,"funding_links":["https://github.com/sponsors/switchupcb"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-17T08:37:32.040Z","issues_count":26,"pull_requests_count":18,"avg_time_to_close_issue":3374782.347826087,"avg_time_to_close_pull_request":12769620.352941176,"issues_closed_count":23,"pull_requests_closed_count":17,"pull_request_authors_count":7,"issue_authors_count":13,"avg_comments_per_issue":2.3461538461538463,"avg_comments_per_pull_request":1.5555555555555556,"merged_pull_requests_count":11,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/switchupcb%2Fcopygen/issues","maintainers":[{"login":"switchupcb","count":18,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/switchupcb"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fswitchupcb%2Fcopygen%2Fexamples/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fswitchupcb%2Fcopygen%2Fexamples/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fswitchupcb%2Fcopygen%2Fexamples/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fswitchupcb%2Fcopygen%2Fexamples/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fswitchupcb%2Fcopygen%2Fexamples/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fswitchupcb%2Fcopygen%2Fexamples/codemeta","maintainers":[]}