Skip to content

goodhistogram: gofmt benchmark_test.go#6

Merged
angles-n-daemons merged 2 commits into
mainfrom
angles-n-daemons/gofmt-benchmark-test
May 18, 2026
Merged

goodhistogram: gofmt benchmark_test.go#6
angles-n-daemons merged 2 commits into
mainfrom
angles-n-daemons/gofmt-benchmark-test

Conversation

@angles-n-daemons
Copy link
Copy Markdown
Contributor

Summary

  • Bring the prometheus.HistogramOpts struct literal in benchmark_test.go into gofmt alignment.
  • NativeHistogramMaxBucketNumber is the longest key in the struct, so the surrounding fields need an extra space before their values for the colons to line up.

Caught while reviewing #5; the issue is pre-existing on main and unrelated to that PR's changes, so fixing it separately keeps #5's diff focused on the actual feature.

Test plan

  • gofmt -l . is now clean
  • go build ./...
  • go test ./...

Bring the prometheus.HistogramOpts struct literal into gofmt alignment —
NativeHistogramMaxBucketNumber is the longest key, so the surrounding
fields need an extra space before their values for the colons to line up.

Caught while reviewing PR #5; pre-existing on main, fixing separately to
keep that PR's diff focused.

Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>
@angles-n-daemons angles-n-daemons merged commit 43c30e2 into main May 18, 2026
3 checks passed
@angles-n-daemons angles-n-daemons deleted the angles-n-daemons/gofmt-benchmark-test branch May 18, 2026 15:35
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.

2 participants