{"id":52358,"library":"anchore-go-struct-converter","title":"Go Struct Converter","description":"Package go-struct-converter provides utilities for converting between Go struct types.","status":"active","version":"0.1.0","language":"go","source_language":null,"source_url":"https://github.com/anchore/go-struct-converter","tags":["struct","conversion","utility"],"install":[{"cmd":"go get github.com/anchore/go-struct-converter","lang":"bash","label":"Install github.com/anchore/go-struct-converter"}],"dependencies":[],"imports":[{"symbol":"converter","correct":"github.com/anchore/go-struct-converter"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/anchore/go-struct-converter\"\n)\n\ntype Source struct {\n\tName string\n}\n\ntype Dest struct {\n\tName string\n}\n\nfunc main() {\n\tsrc := Source{Name: \"test\"}\n\tvar dst Dest\n\terr := converter.Convert(src, &dst)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(dst.Name)\n}","lang":"go","description":"Converts a Source struct to a Dest struct using the converter."},"warnings":[],"env_vars":null,"search_vec":"'convers':18 'convert':3,8,12 'go':1,6,14 'go-struct-convert':5 'packag':4 'provid':9 'struct':2,7,15,17 'type':16 'util':10,19","created_at":"2026-06-15T06:51:33.833875+00:00","updated_at":"2026-06-15T06:51:33.833875+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/anchore/go-struct-converter","github":"https://github.com/anchore/go-struct-converter","docs":"https://pkg.go.dev/github.com/anchore/go-struct-converter#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}}