{"id":52631,"library":"xo-dburl","title":"dburl","description":"Package dburl provides a standard, net/url.URL style mechanism for parsing and opening SQL database connection strings for Go.","status":"active","version":"0.24.2","language":"go","source_language":null,"source_url":"https://github.com/xo/dburl","tags":["database","connection-string","url","sql"],"install":[{"cmd":"go get github.com/xo/dburl","lang":"bash","label":"Install github.com/xo/dburl"}],"dependencies":[],"imports":[{"symbol":"dburl","correct":"github.com/xo/dburl"}],"quickstart":{"code":"package main\n\nimport (\n\t\"database/sql\"\n\t\"fmt\"\n\t\"github.com/xo/dburl\"\n)\n\nfunc main() {\n\tdb, err := dburl.Open(\"postgres://user:pass@localhost/dbname\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer db.Close()\n\tfmt.Println(\"connected\")\n}","lang":"go","description":"Open a database connection using a URL string."},"warnings":[],"env_vars":null,"search_vec":"'connect':16,22 'connection-str':21 'databas':15,20 'dburl':1,3 'go':19 'mechan':9 'net/url.url':7 'open':13 'packag':2 'pars':11 'provid':4 'sql':14,25 'standard':6 'string':17,23 'style':8 'url':24","created_at":"2026-06-15T07:05:26.858168+00:00","updated_at":"2026-06-15T07:05:26.858168+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/xo/dburl","github":"https://github.com/xo/dburl","docs":"https://pkg.go.dev/github.com/xo/dburl#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"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}}