{"id":50684,"library":"distribution-reference","title":"Distribution Reference","description":"Package reference provides a general type to represent any way of referencing images within the registry.","status":"active","version":"0.6.0","language":"go","source_language":null,"source_url":"https://github.com/distribution/reference","tags":["docker","image","reference","registry","container"],"install":[{"cmd":"go get github.com/distribution/reference","lang":"bash","label":"Install github.com/distribution/reference"}],"dependencies":[],"imports":[{"symbol":"reference","correct":"github.com/distribution/reference"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/distribution/reference\"\n)\n\nfunc main() {\n\tnamed, err := reference.Parse(\"ubuntu:latest\")\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\treturn\n\t}\n\tfmt.Println(named.String())\n}","lang":"go","description":"Parse a Docker image reference and print it."},"warnings":[],"env_vars":null,"search_vec":"'contain':23 'distribut':1 'docker':19 'general':7 'imag':15,20 'packag':3 'provid':5 'refer':2,4,21 'referenc':14 'registri':18,22 'repres':10 'type':8 'way':12 'within':16","created_at":"2026-06-15T05:04:42.859813+00:00","updated_at":"2026-06-15T05:04:42.859813+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/distribution/reference","github":"https://github.com/distribution/reference","docs":"https://pkg.go.dev/github.com/distribution/reference#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}}