{"id":52003,"library":"tidwall-rtred","title":"rtred","description":"rtred is a Go library providing a red-black tree data structure with an ordered map interface.","status":"active","version":"0.1.2","language":"go","source_language":null,"source_url":"https://github.com/tidwall/rtred","tags":["red-black-tree","ordered-map","data-structure","tree"],"install":[{"cmd":"go get github.com/tidwall/rtred","lang":"bash","label":"Install github.com/tidwall/rtred"}],"dependencies":[],"imports":[{"symbol":"rtred","correct":"github.com/tidwall/rtred"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/tidwall/rtred\"\n)\n\nfunc main() {\n\ttree := rtred.New()\n\ttree.Set(\"key\", \"value\")\n\tval, _ := tree.Get(\"key\")\n\tfmt.Println(val)\n}","lang":"go","description":"Create a red-black tree, insert a key-value pair, and retrieve it."},"warnings":[],"env_vars":null,"search_vec":"'black':11,22 'data':13,28 'data-structur':27 'go':5 'interfac':19 'librari':6 'map':18,26 'order':17,25 'ordered-map':24 'provid':7 'red':10,21 'red-black':9 'red-black-tre':20 'rtred':1,2 'structur':14,29 'tree':12,23,30","created_at":"2026-06-15T06:37:50.568817+00:00","updated_at":"2026-06-15T06:37:50.568817+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/tidwall/rtred","github":"https://github.com/tidwall/rtred","docs":"https://pkg.go.dev/github.com/tidwall/rtred#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}}