# README
Internal
This directory contains internal code for cloud.google.com/go packages.
.repo-metadata-full.json
.repo-metadata-full.json
contains metadata about the packages in this repo. It
is generated by internal/gapicgen/generator
. It's processed by external tools
to build lists of all of the packages.
Don't make breaking changes to the format without consulting with the external tools.
One day, we may want to create individual .repo-metadata.json
files next to
each package, which is the pattern followed by some other languages. External
tools would then talk to pkg.go.dev or some other service to get the overall
list of packages and use the .repo-metadata.json
files to get the additional
metadata required. For now, .repo-metadata-full.json
includes everything.
# Packages
Package btree implements in-memory B-Trees of arbitrary degree.
Package fields provides a view of the fields of a struct that follows the Go rules, amended to consider tags and case insensitivity.
Package leakcheck contains functions to check leaked goroutines.
Package optional provides versions of primitive types that can be nil.
Package pretty implements a simple pretty-printer.
Package protostruct supports operations on the protocol buffer Struct message.
Package testutil contains helper functions for writing tests.
No description provided by the author
Package tracecontext provides encoders and decoders for Stackdriver Trace contexts.
Package uid supports generating unique IDs.
Package version contains version information for Google Cloud Client Libraries for Go, as reported in request headers.
# Functions
Annotate prepends msg to the error message in err, attempting to preserve other information in err, like an error code.
Annotatef uses format and args to format a string, then calls Annotate.
Retry calls the supplied function f repeatedly according to the provided backoff parameters.