# GoogleCloudPlatform/golang-samples

Sample apps and code written for Google Cloud in the Go programming language.

Repository: https://github.com/GoogleCloudPlatform/golang-samples
Canonical: https://ross.abutalabs.com/products/golang-samples
Language: Go
License: Apache-2.0
License Family: permissive
Topics: google-cloud, golang, go, samples, sample, appengine, google-appengine
Last push: 2026-08-26T21:32:23+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3992, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4653, forks 1879 (observed 2026-08-28T04:08:55.652651+00:00)

## What it is
A collection of sample applications and code snippets demonstrating how to use Google Cloud Platform services from the Go programming language. It is a reference repository meant for copying code into your own projects, not a dependency.

## Use cases
- learn how to call Google Cloud APIs from Go
- find example code for using Pub/Sub, Storage, or BigQuery in Go
- get a starting point for a Go app on App Engine
- see idiomatic authentication patterns for Google Cloud clients in Go
- copy working snippets for Cloud Functions in Go

## When to choose
- you are developing in Go against Google Cloud services and want working reference code
- you need a quick starting example for a specific GCP product
- you want to learn GCP client library usage patterns

## When to avoid
- you need a production-ready library to depend on - samples may change without notice
- you are not using Google Cloud or Go
- you need maintained, versioned packages rather than illustrative code

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, sdk, cloud
- domain: cloud-computing, developer-tools, tutorials
- platform: go, cloud, cross-platform
- tags: google-cloud, code-samples, golang, example-code, appengine

## Member repositories
- GoogleCloudPlatform/golang-samples (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:55.652651+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:29.467253+00:00, confidence not recorded.
  - readme: https://github.com/GoogleCloudPlatform/golang-samples (fetched 2026-08-28T04:08:55.652651+00:00, sha 28ed87ca7ff9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
