{"id":50208,"library":"fatih-structs","title":"Structs","description":"Package structs contains various utilities functions to work with structs.","status":"active","version":"1.1.0","language":"go","source_language":null,"source_url":"https://github.com/fatih/structs","tags":["struct","utilities","reflection"],"install":[{"cmd":"go get github.com/fatih/structs","lang":"bash","label":"Install github.com/fatih/structs"}],"dependencies":[],"imports":[{"symbol":"structs","correct":"github.com/fatih/structs"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/fatih/structs\"\n)\n\ntype Person struct {\n\tName string\n\tAge  int\n}\n\nfunc main() {\n\tp := Person{Name: \"John\", Age: 30}\n\tm := structs.Map(p)\n\tfmt.Println(m)\n}","lang":"go","description":"Convert a struct to a map."},"warnings":[],"env_vars":null,"search_vec":"'contain':4 'function':7 'packag':2 'reflect':14 'struct':1,3,11,12 'util':6,13 'various':5 'work':9","created_at":"2026-06-15T04:44:15.114422+00:00","updated_at":"2026-06-15T04:44:15.114422+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/fatih/structs","github":"https://github.com/fatih/structs","docs":"https://pkg.go.dev/github.com/fatih/structs#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}}