{"id":51244,"library":"alecthomas-repr","title":"repr","description":"Attempts to represent Go values in a copy-pasteable source code form.","status":"active","version":"0.5.2","language":"go","source_language":null,"source_url":"https://github.com/alecthomas/repr","tags":["debugging","serialization","reflection","pretty-print"],"install":[{"cmd":"go get github.com/alecthomas/repr","lang":"bash","label":"Install github.com/alecthomas/repr"}],"dependencies":[],"imports":[{"symbol":"repr","correct":"github.com/alecthomas/repr"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/alecthomas/repr\"\n)\n\nfunc main() {\n\ttype Foo struct{ Bar string }\n\tfmt.Println(repr.String(Foo{Bar: \"hello\"}))\n}","lang":"go","description":"Prints a Go value as a valid Go expression."},"warnings":[],"env_vars":null,"search_vec":"'attempt':2 'code':13 'copi':10 'copy-past':9 'debug':15 'form':14 'go':5 'pasteabl':11 'pretti':19 'pretty-print':18 'print':20 'reflect':17 'repr':1 'repres':4 'serial':16 'sourc':12 'valu':6","created_at":"2026-06-15T06:05:55.889010+00:00","updated_at":"2026-06-15T06:05:55.889010+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/alecthomas/repr","github":"https://github.com/alecthomas/repr","docs":"https://pkg.go.dev/github.com/alecthomas/repr#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","serialization"],"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}}