{"id":51410,"library":"go-spanner","title":"Cloud Spanner Go Client","description":"Package spanner provides a client for Google Cloud Spanner.","status":"active","version":"1.91.0","language":"go","source_language":null,"source_url":"https://github.com/googleapis/google-cloud-go","tags":["google-cloud","spanner","database","cloud"],"install":[{"cmd":"go get cloud.google.com/go/spanner","lang":"bash","label":"Install cloud.google.com/go/spanner"}],"dependencies":[],"imports":[{"symbol":"spanner","correct":"cloud.google.com/go/spanner"}],"quickstart":{"code":"package main\n\nimport (\n\t\"context\"\n\t\"cloud.google.com/go/spanner\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tclient, err := spanner.NewClient(ctx, \"projects/my-project/instances/my-instance/databases/my-db\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer client.Close()\n\t_ = client\n}","lang":"go","description":"Creates a Spanner client for a given database."},"warnings":[],"env_vars":null,"search_vec":"'client':4,9 'cloud':1,12,16,19 'databas':18 'go':3 'googl':11,15 'google-cloud':14 'packag':5 'provid':7 'spanner':2,6,13,17","created_at":"2026-06-15T06:13:31.596779+00:00","updated_at":"2026-06-15T06:13:31.596779+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/googleapis/google-cloud-go","github":"https://github.com/googleapis/google-cloud-go","docs":"https://pkg.go.dev/cloud.google.com/go/spanner#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","cloud"],"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}}