{"id":50016,"library":"mitchellh-copystructure","title":"Copystructure","description":"Deep copies Go data structures, handling pointers, maps, slices, and structs.","status":"active","version":"1.2.0","language":"go","source_language":null,"source_url":"https://github.com/mitchellh/copystructure","tags":["copy","deep-copy","utility","struct"],"install":[{"cmd":"go get github.com/mitchellh/copystructure","lang":"bash","label":"Install github.com/mitchellh/copystructure"}],"dependencies":[],"imports":[{"symbol":"copystructure","correct":"github.com/mitchellh/copystructure"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/mitchellh/copystructure\"\n)\n\nfunc main() {\n\toriginal := map[string]int{\"a\": 1}\n\tcopy, _ := copystructure.Copy(original)\n\tfmt.Println(copy)\n}","lang":"go","description":"Deep copies a map."},"warnings":[],"env_vars":null,"search_vec":"'copi':3,13,16 'copystructur':1 'data':5 'deep':2,15 'deep-copi':14 'go':4 'handl':7 'map':9 'pointer':8 'slice':10 'struct':12,18 'structur':6 'util':17","created_at":"2026-06-15T04:36:43.080856+00:00","updated_at":"2026-06-15T04:36:43.080856+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/mitchellh/copystructure","github":"https://github.com/mitchellh/copystructure","docs":"https://pkg.go.dev/github.com/mitchellh/copystructure#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}