{"id":19397177,"url":"https://github.com/illarion/merge","last_synced_at":"2026-06-22T09:31:13.190Z","repository":{"id":159822710,"uuid":"634870232","full_name":"illarion/merge","owner":"illarion","description":"Merge multiple maps in golang, recursively","archived":false,"fork":false,"pushed_at":"2023-05-05T16:33:26.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T22:11:20.109Z","etag":null,"topics":["config","go","golang","lodash-merge","map","mapstruct","merge"],"latest_commit_sha":null,"homepage":"","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/illarion.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":"2023-05-01T12:26:22.000Z","updated_at":"2024-12-01T14:09:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e74286c-207f-4fd9-b19f-7b45e6a477c4","html_url":"https://github.com/illarion/merge","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/illarion/merge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illarion%2Fmerge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illarion%2Fmerge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illarion%2Fmerge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illarion%2Fmerge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/illarion","download_url":"https://codeload.github.com/illarion/merge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illarion%2Fmerge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34643479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":["config","go","golang","lodash-merge","map","mapstruct","merge"],"created_at":"2024-11-10T10:39:47.756Z","updated_at":"2026-06-22T09:31:13.165Z","avatar_url":"https://github.com/illarion.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Merge \n\n## Description\n\nThis is a simple library to merge two or more map[string]interface{} into one, recursively. It is useful when you need to merge two or more maps with different structures.\n\n## Usage\n\n```go\n\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/illarion/merge\"\n\t\"encoding/json\"\n)\n\nfunc main() {\n\n\tvar src1 map[string]interface{}\n\tvar src2 map[string]interface{}\n\tvar src3 map[string]interface{}\n\n\tjson.Parse([]byte(`{\"a\": 1, \"b\": 2}`), \u0026src1)\n\tjson.Parse([]byte(`{\"c\": 3, \"d\": 4}`), \u0026src2)\n\tjson.Parse([]byte(`{\"e\": 5, \"f\": 6}`), \u0026src3)\n\n\tresult := merge.Maps(nil, src1, src2, src3)\n\tfmt.Sprintf(\"%#v\", result)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fillarion%2Fmerge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fillarion%2Fmerge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fillarion%2Fmerge/lists"}