{"id":49870,"library":"google-uuid","title":"Google UUID","description":"Package uuid generates and inspects UUIDs based on RFC 9562.","status":"active","version":"1.6.0","language":"go","source_language":null,"source_url":"https://github.com/google/uuid","tags":["uuid","identifier","random"],"install":[{"cmd":"go get github.com/google/uuid","lang":"bash","label":"Install github.com/google/uuid"}],"dependencies":[],"imports":[{"symbol":"uuid","correct":"github.com/google/uuid"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/google/uuid\"\n)\n\nfunc main() {\n\tid := uuid.New()\n\tfmt.Println(id.String())\n}","lang":"go","description":"Generate a new UUID v4 and print it."},"warnings":[{"fix":"Use uuid.New() for random UUIDs; use uuid.NewUUID() for time-based UUIDs.","message":"uuid.New() returns a UUID v4 (random); for other versions use specific functions like uuid.NewUUID() for v1.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'9562':12 'base':9 'generat':5 'googl':1 'identifi':14 'inspect':7 'packag':3 'random':15 'rfc':11 'uuid':2,4,8,13","created_at":"2026-06-14T18:18:31.464059+00:00","updated_at":"2026-06-14T18:18:31.464059+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/google/uuid","github":"https://github.com/google/uuid","docs":"https://pkg.go.dev/github.com/google/uuid#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-14","next_check":"2026-12-11","install_tag":null}}