MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/golang-samples / functions

Functions5,023 in github.com/GoogleCloudPlatform/golang-samples

Functionmain
()
run/image-processing/main.go:30
Functionmain
()
run/service-health/main.go:169
Functionmain
()
run/h2c/main.go:27
Functionmain
()
run/system_package/graphviz.go:29
Functionmain
[START cloudrun_grpc_server]
run/grpc-ping/main.go:29
Functionmain
()
run/grpc-ping/client/client.go:43
Functionmain
()
run/custom-metrics/main.go:34
Functionmain
()
run/markdown-preview/renderer/main.go:28
Functionmain
()
run/markdown-preview/editor/main.go:26
Functionmain
()
run/logging-manual/main.go:31
Functionmain
()
run/pubsub/main.go:28
Functionmain
()
run/service-auth/main.go:65
Functionmain
()
run/sigterm-handler/main.go:33
Functionmain
()
run/grpc-server-streaming/client/client.go:49
Functionmain
()
run/grpc-server-streaming/server/main.go:33
Functionmain
()
compute/quickstart/compute_quickstart_sample.go:34
FunctionmainHandler
mainHandler tracks how many times each user has visited this page.
bigtable/usercounter/main.go:92
FunctionmakeIAPRequest
makeIAPRequest makes a request to an application protected by Identity-Aware Proxy with the given audience.
iap/request.go:30
FunctionoauthClient
oauthClient shows how to use an OAuth client ID to authenticate as an end-user.
auth/overview/oauth_client.go:30
FunctionpatchDICOMStore
patchDICOMStore updates (patches) a DICOM store by updating its Pub/sub topic name.
healthcare/dicom_store_patch.go:27
FunctionpatchFHIRStore
patchFHIRStore updates (patches) a FHIR store by updating its Pub/sub topic name.
healthcare/fhir_store_patch.go:27
FunctionpatchHL7V2Store
patchHL7V2Store updates (patches) a HL7V2 store by updating its Pub/sub topic name.
healthcare/hl7v2_store_patch.go:27
FunctionpgAddNewColumn
(ctx context.Context, w io.Writer, adminClient *database.DatabaseAdminClient, database string)
spanner/spanner_snippets/snippet.go:590
FunctionpgAddNewColumn
(ctx context.Context, w io.Writer, db string)
spanner/spanner_snippets/spanner/pg_spanner_add_column.go:28
FunctionpgAddStoringIndex
(ctx context.Context, w io.Writer, adminClient *database.DatabaseAdminClient, database string)
spanner/spanner_snippets/snippet.go:699
FunctionpgAddStoringIndex
pgAddStoringIndex shows how to create 'STORING' indexes on a Spanner PostgreSQL database. The PostgreSQL dialect uses INCLUDE keyword, as opposed to t
spanner/spanner_snippets/spanner/pg_spanner_create_storing_index.go:31
FunctionpgAlterSequence
(w io.Writer, db string)
spanner/spanner_snippets/spanner/pg_spanner_alter_sequence.go:30
FunctionpgBatchDml
pgBatchDml shows how to execute a batch of DML statements on a Spanner PostgreSQL database.
spanner/spanner_snippets/spanner/pg_spanner_batch_dml.go:28
FunctionpgCaseSensitivity
pgCaseSensitivity shows the rules for case-sensitivity and case folding for a Spanner PostgreSQL database.
spanner/spanner_snippets/spanner/pg_spanner_case_sensitivity.go:32
FunctionpgCastDataType
pgCastDataType shows how to cast values from one data type to another in a Spanner PostgreSQL SQL statement.
spanner/spanner_snippets/spanner/pg_spanner_cast_data_type.go:31
FunctionpgCreateDatabase
[END spanner_dml_getting_started_update]
spanner/spanner_snippets/snippet.go:494
FunctionpgCreateDatabase
pgCreateDatabase shows how to create a Spanner database that uses the PostgreSQL dialect.
spanner/spanner_snippets/spanner/pg_spanner_create_database.go:30
FunctionpgCreateSequence
(w io.Writer, db string)
spanner/spanner_snippets/spanner/pg_spanner_create_sequence.go:30
FunctionpgDeleteUsingDMLReturning
(w io.Writer, db string)
spanner/spanner_snippets/spanner/pg_spanner_dml_delete_returning.go:28
FunctionpgDmlWithParameters
pgDmlWithParameters shows how to execute a DML statement with parameters on a Spanner PostgreSQL database. The PostgreSQL dialect uses positional para
spanner/spanner_snippets/spanner/pg_spanner_dml_with_parameters.go:30
FunctionpgFunctions
pgFunctions shows how to call a server side function on a Spanner PostgreSQL database.
spanner/spanner_snippets/spanner/pg_spanner_functions.go:30
FunctionpgInformationSchema
pgInformationSchema shows how to query the information schema metadata in a Spanner PostgreSQL database.
spanner/spanner_snippets/spanner/pg_spanner_information_schema.go:32
FunctionpgInsertAndUpdateDmlWithLastStatement
Inserts a record into the Singers table and then updates the row while also setting the update DML as the last statement.
spanner/spanner_snippets/spanner/pg_spanner_dml_last_statement.go:30
FunctionpgInsertUsingDMLReturning
(w io.Writer, db string)
spanner/spanner_snippets/spanner/pg_spanner_dml_insert_returning.go:28
FunctionpgInterleavedTable
pgInterleavedTable shows how to create an interleaved table on a Spanner PostgreSQL database. The Spanner PostgreSQL dialect extends the standard Post
spanner/spanner_snippets/spanner/pg_spanner_interleaved_table.go:31
FunctionpgNumericDataType
pgNumericDataType shows how to work with the PostgreSQL NUMERIC/DECIMAL data type on a Spanner PostgreSQL database.
spanner/spanner_snippets/spanner/pg_spanner_numeric_data_type.go:32
FunctionpgOrderNulls
pgOrderNulls shows how a Spanner PostgreSQL database orders null values in a query, and how an application can change the default behavior by adding `
spanner/spanner_snippets/spanner/pg_spanner_order_nulls.go:33
FunctionpgPartitionedDml
pgPartitionedDml shows how to execute Partitioned DML on a Spanner PostgreSQL database. See also https://cloud.google.com/spanner/docs/dml-partitioned
spanner/spanner_snippets/spanner/pg_spanner_partitioned_dml.go:29
FunctionpgQueryNewColumn
(ctx context.Context, w io.Writer, client *spanner.Client)
spanner/spanner_snippets/snippet.go:607
FunctionpgQueryNewColumn
(w io.Writer, db string)
spanner/spanner_snippets/spanner/pg_spanner_query_data_with_new_column.go:29
FunctionpgQueryParameter
(ctx context.Context, w io.Writer, client *spanner.Client)
spanner/spanner_snippets/snippet.go:560
FunctionpgQueryParameter
pgQueryParameter shows how to execute a query with parameters on a Spanner PostgreSQL database. The PostgreSQL dialect uses positional parameters, as
spanner/spanner_snippets/spanner/pg_spanner_query_parameter.go:31
FunctionpgUpdateUsingDMLReturning
(w io.Writer, db string)
spanner/spanner_snippets/spanner/pg_spanner_dml_update_returning.go:28
FunctionpgWriteUsingDML
(ctx context.Context, w io.Writer, client *spanner.Client)
spanner/spanner_snippets/snippet.go:541
FunctionpgWriteUsingDML
(w io.Writer, db string)
spanner/spanner_snippets/spanner/pg_spanner_dml_getting_started_insert.go:27
FunctionpgWriteWithTransactionUsingDML
(ctx context.Context, w io.Writer, client *spanner.Client)
spanner/spanner_snippets/snippet.go:638
FunctionpgWriteWithTransactionUsingDML
(w io.Writer, db string)
spanner/spanner_snippets/spanner/pg_spanner_dml_getting_started_update.go:27
FunctionpredictWithTunedEndpoint
predictWithTunedEndpoint demonstrates how to send a text generation request to a tuned endpoint created from a tuning job.
genai/tuning/tuning_textgen_with_txt.go:29
FunctionpublishHandler
(w http.ResponseWriter, r *http.Request)
appengine_flexible/pubsub/pubsub.go:132
FunctionpublishHandler
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/pubsub/pubsub.go:132
FunctionpublishSingleGoroutine
(w io.Writer, projectID, topicID, msg string)
pubsub/topics/publish_single.go:26
FunctionpublishSingleGoroutine
(w io.Writer, projectID, topicID, msg string)
pubsub/v1samples/topics/publish_single.go:26
FunctionpullMsgsDeadLetterDeliveryAttempt
(w io.Writer, projectID, subID string)
pubsub/subscriptions/dead_letter_delivery_attempt.go:27
FunctionpullMsgsError
(w io.Writer, projectID, subID string)
pubsub/v1samples/subscriptions/pull_error.go:26
FunctionpullMsgsError
(w io.Writer, projectID, subID string)
pubsub/subscriptions/pull_error.go:26
FunctionpullMsgsFlowControlSettings
(w io.Writer, projectID, subID string)
pubsub/v1samples/subscriptions/pull_settings.go:26
FunctionpullMsgsFlowControlSettings
(w io.Writer, projectID, subID string)
pubsub/subscriptions/pull_settings.go:26
FunctionpullMsgsSync
(w io.Writer, projectID, subID string)
pubsub/subscriptions/sync_pull.go:28
FunctionpushHandler
(w http.ResponseWriter, r *http.Request)
appengine_flexible/pubsub/pubsub.go:102
FunctionpushHandler
(w http.ResponseWriter, r *http.Request)
appengine_flexible/go115_and_earlier/pubsub/pubsub.go:102
FunctionputHandler
(w http.ResponseWriter, r *http.Request)
docs/appengine/search/search.go:36
Functionquery
[END spanner_insert_data] [START spanner_query_data]
spanner/spanner_snippets/snippet.go:137
Functionquery
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_data.go:28
Functionquery
(ctx context.Context, w io.Writer, client *spanner.Client)
spanner/spanner_leaderboard/leaderboard.go:214
FunctionqueryDocumentsTable
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_documents_table.go:27
FunctionqueryGraphData
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_graph_data.go:30
FunctionqueryGraphDataWithParameter
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_graph_data_with_parameter.go:29
FunctionqueryNewColumn
[END spanner_update_data] [START spanner_query_data_with_new_column]
spanner/spanner_snippets/snippet.go:221
FunctionqueryNewColumn
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_data_with_new_column.go:29
FunctionqueryNewTable
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_new_table.go:28
FunctionqueryRequestPriority
queryRequestPriority runs a query on a database with request priority set
spanner/spanner_snippets/spanner/spanner_query_request_priority.go:30
FunctionqueryUsingIndex
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_data_with_index.go:29
FunctionqueryWithArray
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_array_parameter.go:30
FunctionqueryWithArrayOfStruct
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_data_with_array_of_struct.go:26
FunctionqueryWithBool
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_bool_parameter.go:28
FunctionqueryWithBytes
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_bytes_parameter.go:28
FunctionqueryWithDate
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_date_parameter.go:30
FunctionqueryWithFloat
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_float_parameter.go:28
FunctionqueryWithGFELatency
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_opencensus_capture_gfe_metric.go:57
FunctionqueryWithGRPCMetric
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_opencensus_capture_grpc_metric.go:35
FunctionqueryWithHistory
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_history.go:27
FunctionqueryWithInt
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_int_parameter.go:28
FunctionqueryWithJsonBParameter
queryWithJsonBParameter queries data on the JSON type column of the database
spanner/spanner_snippets/spanner/pg_spanner_query_with_jsonb_parameter.go:30
FunctionqueryWithJsonParameter
queryWithJsonParameter queries data on the JSON type column of the database
spanner/spanner_snippets/spanner/spanner_query_with_json_parameter.go:30
FunctionqueryWithNestedStructField
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_field_access_on_nested_struct_parameters.go:28
FunctionqueryWithNumericParameter
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_numeric_parameter.go:29
FunctionqueryWithParameter
[END spanner_dml_getting_started_insert] [START spanner_query_with_parameter]
spanner/spanner_snippets/snippet.go:402
FunctionqueryWithParameter
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_parameter.go:28
FunctionqueryWithProtoParameter
queryWithProtoParameter queries data on the JSON type column of the database
spanner/spanner_snippets/spanner/spanner_query_with_proto_parameter.go:31
FunctionqueryWithQueryOptions
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_query_options.go:30
FunctionqueryWithQueryStats
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_opencensus_capture_query_stats_metric.go:50
FunctionqueryWithString
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_with_string_parameter.go:28
FunctionqueryWithStruct
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_query_data_with_struct.go:26
FunctionqueryWithStructField
(w io.Writer, db string)
spanner/spanner_snippets/spanner/spanner_field_access_on_struct_parameters.go:28
FunctionqueryWithTag
queryWithTag reads from a database with request tag set
spanner/spanner_snippets/spanner/spanner_query_data_with_tag.go:29
← previousnext →4,801–4,900 of 5,023, ranked by callers