Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/golang-samples
/ functions
Functions
5,023 in github.com/GoogleCloudPlatform/golang-samples
⨍
Functions
5,023
◇
Types & classes
329
Function
getDiscoveryInfo
getDiscoveryInfo retrieves and prints the Discovery Occurrence created for a specified image. The Discovery Occurrence contains information about the
container_registry/container_analysis/get_discovery_info.go:31
Function
getFHIRIAMPolicy
getFHIRIAMPolicy gets the FHIR store's IAM policy.
healthcare/fhir_iam_get.go:27
Function
getFHIRStore
getFHIRStore gets an FHIR store.
healthcare/fhir_store_get.go:27
Function
getHL7V2Store
getHL7V2Store gets an HL7V2 store.
healthcare/hl7v2_store_get.go:27
Function
getHandler
[START gae_search_retrieving_documents_by_doc_ids]
docs/appengine/search/search.go:76
Function
getIdTokenFromImpersonatedCredentials
getIdTokenFromImpersonatedCredentials uses a service account (SA1) to impersonate as another service account (SA2) and obtain id token for the imperso
auth/id_token_from_impersonated_credentials.go:31
Function
getInstanceSerialPort
getInstanceSerialPort prints the serial port output for an instance.
compute/instances/create-manage-windows-instances/get_instance_serial_port.go:28
Function
getJob
getJob gets an existing job by its resource name.
jobs/v4/howto/get_job_sample.go:28
Function
getRetiredResource
getRetiredResource gets a retired resource.
kms/get_retired_resource.go:28
Function
getTuningJob
getTuningJob retrieves details of a tuning job, including tuned model and endpoint
genai/tuning/tuning_get_job.go:28
Function
handle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/helloworld/helloworld.go:37
Function
handle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/datastore/datastore.go:50
Function
handle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/redis/redis.go:58
Function
handle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/analytics/analytics.go:50
Function
handle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/helloworld/helloworld.go:37
Function
handle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/datastore/datastore.go:50
Function
handle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/redis/redis.go:58
Function
handle
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/analytics/analytics.go:50
Function
handle
(w http.ResponseWriter, r *http.Request)
docs/appengine/datastore/index.go:35
Function
handle
(w http.ResponseWriter, r *http.Request)
docs/appengine/datastore/queries/queries.go:39
Function
handleMain
handleMain outputs the home page.
bigtable/search/search.go:142
Method
handleMetrics
(w http.ResponseWriter, req *http.Request)
opentelemetry/instrumentation/app/main_test.go:280
Function
handleMulti
[END opentelemetry_instrumentation_handle_single] handleMulti handles an http request by making 3-7 http requests to the single endpoint. [START opent
opentelemetry/instrumentation/app/server.go:39
Function
handleRoot
(w http.ResponseWriter, r *http.Request)
docs/appengine/blobstore/complete.go:47
Function
handleServe
(w http.ResponseWriter, r *http.Request)
docs/appengine/blobstore/complete.go:61
Function
handleSingle
handleSingle handles an http request by sleeping for 100-200 ms. It writes the number of milliseconds slept as its response. [START opentelemetry_inst
opentelemetry/instrumentation/app/server.go:29
Method
handleTraces
(w http.ResponseWriter, req *http.Request)
opentelemetry/instrumentation/app/main_test.go:191
Function
handleUpload
(w http.ResponseWriter, r *http.Request)
docs/appengine/blobstore/complete.go:65
Function
handler
(w http.ResponseWriter, r *http.Request)
internal/cloudrunci/testingapp/testingapp.go:40
Function
handler
(w http.ResponseWriter, r *http.Request)
docs/appengine/logs/logs.go:35
Function
handler
(w http.ResponseWriter, r *http.Request)
docs/appengine/tools/devserver/devserver.go:28
Function
handler
[START gae_communication_between_modules_1]
docs/appengine/modules/module.go:26
Function
handler
(w http.ResponseWriter, r *http.Request)
docs/appengine/urlfetch/urlfetch.go:26
Function
handler
(w http.ResponseWriter, r *http.Request)
docs/appengine/cloudsql/cloudsql.go:50
Function
handler
(w http.ResponseWriter, r *http.Request)
docs/appengine/datastore/transactions/transactions.go:38
Function
handler
[START intro_1] [END intro_1]
docs/appengine/memcache/memcache.go:29
Function
handler
[START gae_go_capabilities_lookup]
docs/appengine/capabilities/capability.go:25
Function
handler
(w http.ResponseWriter, r *http.Request)
docs/appengine/taskqueue/push/taskqueue_push.go:39
Function
handler
(w http.ResponseWriter, r *http.Request)
run/h2c/main.go:53
Function
handler2
[END gae_communication_between_modules_1]
docs/appengine/modules/module.go:36
Function
hello
(w http.ResponseWriter, r *http.Request)
docs/appengine/requests/helloworld.go:28
Function
hl7V2IAMPolicy
hl7V2IAMPolicy gets the IAM policy.
healthcare/hl7v2_iam_get.go:27
Function
homepageHandler
(w http.ResponseWriter, r *http.Request)
appengine_flexible/static_files/staticfiles.go:46
Function
homepageHandler
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/static_files/staticfiles.go:46
Function
implicit
[START auth_cloud_implicit] implicit uses Application Default Credentials to authenticate.
auth/snippets.go:33
Function
importDICOMInstance
importDICOMInstance imports DICOM objects from GCS.
healthcare/dicom_import.go:27
Function
incomingMail
[END gae_mail_init] [START gae_mail_incoming_mail]
docs/appengine/mail/mail.go:63
Function
increment
[END gae_datastore_using_transactions] [START gae_datastore_uses_for_transactions_1]
docs/appengine/datastore/transactions/transactions.go:66
Function
incrementHandler
(w http.ResponseWriter, r *http.Request)
memorystore/redis/main.go:31
Function
index
(w http.ResponseWriter, r *http.Request)
getting-started/gce/main.go:38
Function
indexHandler
[END gae_go111_main_func] [START gae_go111_indexHandler] indexHandler responds to requests with our greeting.
appengine/go11x/helloworld/helloworld.go:54
Function
indexHandler
indexHandler responds to requests with our list of available databases.
appengine/go11x/cloudsql/cloudsql.go:86
Function
indexHandler
indexHandler responds to requests with our greeting.
appengine/go11x/tasks/handle_task/handle_task.go:48
Function
indexHandler
indexHandler responds to requests with our greeting.
appengine/go11x/warmup/warmup.go:75
Function
indexHandler
(w http.ResponseWriter, r *http.Request)
run/logging-manual/main.go:89
Function
init
()
bigquery/snippets/managedwriter/exampleproto/sample_data.pb.go:347
Function
init
TABS vs. SPACES App for Cloud Functions
cloudsql/sqlserver/database-sql/cmd/functions/functions.go:23
Function
init
TABS vs. SPACES App for Cloud Functions
cloudsql/postgres/database-sql/cmd/app/functions/functions.go:23
Function
init
TABS vs. SPACES App for Cloud Functions
cloudsql/mysql/database-sql/cmd/functions/functions.go:23
Function
init
()
profiler/shakesapp/shakesapp/shakesapp.pb.go:108
Function
init
()
spanner/spanner_snippets/spanner/testdata/protos/singer.pb.go:216
Function
init
()
endpoints/getting-started-grpc/helloworld/helloworld.pb.go:62
Function
init
()
functions/helloworld/hello_logging.go:28
Function
init
()
functions/helloworld/hello_http.go:29
Function
init
()
functions/http/http_request_method.go:27
Function
init
()
functions/http/http_content_type.go:31
Function
init
()
functions/http/form.go:66
Function
init
()
functions/http/xml.go:30
Function
init
()
functions/http/request.go:37
Function
init
()
functions/http/cors_auth.go:48
Function
init
()
functions/http/stateless.go:30
Function
init
()
functions/http/cors.go:45
Function
init
()
functions/imagemagick/imagemagick.go:40
Function
init
()
functions/spanner/spanner.go:40
Function
init
()
functions/firebase/upper/upper.go:66
Function
init
()
functions/functionsv2/helloworld/hello_world.go:27
Function
init
()
functions/functionsv2/label_gce_instance/label_gce_instance.go:50
Function
init
()
functions/functionsv2/hellopubsub/hello_pubsub.go:29
Function
init
()
functions/functionsv2/helloauditlog/hello_auditlog.go:29
Function
init
()
functions/functionsv2/response_streaming/response_streaming.go:33
Function
init
()
functions/functionsv2/imagemagick/imagemagick.go:44
Function
init
()
functions/functionsv2/log/process_log_entry.go:29
Function
init
()
functions/functionsv2/firebase/remoteconfig/remoteconfig.go:31
Function
init
()
functions/functionsv2/firebase/rtdb/rtdb.go:32
Function
init
()
functions/functionsv2/firebase/upper/upper.go:42
Function
init
()
functions/functionsv2/firebase/hellofirestore/hellofirestore.go:30
Function
init
()
functions/functionsv2/ocr/app/save.go:29
Function
init
()
functions/functionsv2/ocr/app/translate.go:31
Function
init
()
functions/functionsv2/ocr/app/process.go:30
Function
init
()
functions/functionsv2/hellostorage/hello_storage.go:32
Function
init
()
functions/functionsv2/slack/search.go:61
Function
init
()
functions/functionsv2/tips/retry.go:28
Function
init
()
functions/functionsv2/tips/infinite_retries/infinite_retries.go:30
Function
init
()
functions/typed/greeting/greeting.go:26
Function
init
()
functions/memorystore/redis/visitcount.go:34
Function
init
()
functions/tips/file_system.go:29
Function
init
init runs during package initialization. So, this will only run during an an instance's cold start.
functions/tips/scope.go:33
Function
init
()
functions/tips/error.go:27
Function
init
()
functions/tips/timeout.go:29
Function
init
()
functions/tips/lazy.go:35
← previous
next →
4,501–4,600 of 5,023, ranked by callers