Skip to content

Drewjsttestlema patch 1#71

Closed
drewjsttestlema wants to merge 2 commits into
golang:masterfrom
drewjsttestlema:drewjsttestlema-patch-1
Closed

Drewjsttestlema patch 1#71
drewjsttestlema wants to merge 2 commits into
golang:masterfrom
drewjsttestlema:drewjsttestlema-patch-1

Conversation

@drewjsttestlema

Copy link
Copy Markdown

This PR will be imported into Gerrit with the title and first
comment (this text) used to generate the subject and body of
the Gerrit change.

Please ensure you adhere to every item in this list.

More info can be found at https://go.dev/wiki/CommitMessage

  • The PR title is formatted as follows: net/http: frob the quux before blarfing
    • The package name goes before the colon
    • The part after the colon uses the verb tense + phrase that completes the blank in,
      "This change modifies Go to ___________"
    • Lowercase verb after the colon
    • No trailing period
    • Keep the title as short as possible, ideally 72 characters or shorter
  • No Markdown
  • The first PR comment (this one) is wrapped at around 72 characters, unless it's
    really needed (ASCII art, table, or long link)
  • If there is a corresponding issue,
    add either Fixes golang/go#1234 or Updates golang/go#1234
    (the latter if this is not a complete fix) to this comment
  • Most Go repositories use the main issue tracker in the golang/go repo.
    If this PR is for a repository with a dedicated issue tracker,
    use the owner/repo#issue_number syntax: Fixes golang/vscode-go#1234
  • We do not use Signed-off-by lines in Go. Please don't add them.
    Our Gerrit server & GitHub bots enforce CLA compliance instead.
  • Delete these instructions once you have read and applied them

Standardize transient-error handling across the examples with a small
retry.Do helper that retries an operation with exponential backoff —
doubling the wait after each failure.

Why exponential over a fixed interval: a fixed retry interval hammers a
struggling dependency at a constant rate; backoff sheds load as failures
persist. Rejected pulling in a third-party retry library to keep the
example dependency-free.
@google-cla

google-cla Bot commented Jul 12, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant