{"id":52748,"library":"ttacon-builder","title":"Builder","description":"A simple builder pattern implementation for constructing objects in Go.","status":"active","version":"0.0.0-20170518171403-c099f663e1c2","language":"go","source_language":null,"source_url":"https://github.com/ttacon/builder","tags":["builder-pattern","construction","utility"],"install":[{"cmd":"go get github.com/ttacon/builder","lang":"bash","label":"Install github.com/ttacon/builder"}],"dependencies":[],"imports":[{"symbol":"builder","correct":"github.com/ttacon/builder"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/ttacon/builder\"\n)\n\ntype Person struct {\n\tName string\n\tAge  int\n}\n\nfunc main() {\n\tp := builder.New[Person]().\n\t\tSet(\"Name\", \"Alice\").\n\t\tSet(\"Age\", 30).\n\t\tBuild()\n\tfmt.Printf(\"%+v\\n\", p)\n}","lang":"go","description":"Uses the builder to construct a Person struct."},"warnings":[],"env_vars":null,"search_vec":"'builder':1,4,13 'builder-pattern':12 'construct':8,15 'go':11 'implement':6 'object':9 'pattern':5,14 'simpl':3 'util':16","created_at":"2026-06-15T07:10:01.512627+00:00","updated_at":"2026-06-15T07:10:01.512627+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/ttacon/builder","github":"https://github.com/ttacon/builder","docs":"https://pkg.go.dev/github.com/ttacon/builder#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}}