Skip to content

Conversation

@giortzisg
Copy link
Collaborator

DESCRIBE YOUR PR

Part of a refactoring initiative for the Go SDK docs pages. This PR mostly aims for consistency among all it's guides index pages. Things changed:

  • Every page uses the getting-started-config to avoid snippets not correctly including all available onboarding options.
  • Make snippets pastable (thus removing main function and whole package declarations).
  • Divide parts of the snippets to different sections (Install, Configure, Options, Verify). Aim for pages to follow this format if possible.

@vercel
Copy link

vercel bot commented Jul 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2025 10:40am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
develop-docs ⬜️ Ignored (Inspect) Visit Preview Aug 4, 2025 10:40am

@giortzisg giortzisg requested review from a team and cleptric July 7, 2025 13:20
@giortzisg giortzisg self-assigned this Jul 7, 2025
@giortzisg giortzisg marked this pull request as ready for review July 7, 2025 13:21
@codecov
Copy link

codecov bot commented Jul 7, 2025

Bundle Report

Changes will increase total bundle size by 5.43kB (0.02%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 11.8MB 5.44kB (0.05%) ⬆️
sentry-docs-client-array-push 9.8MB -6 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.64MB -0.0%
../instrumentation.js -3 bytes 973.36kB -0.0%
9523.js -3 bytes 949.31kB -0.0%
../app/[[...path]]/page.js.nft.json 1.82kB 692.46kB 0.26%
../app/platform-redirect/page.js.nft.json 1.82kB 692.38kB 0.26%
../app/sitemap.xml/route.js.nft.json 1.82kB 690.35kB 0.26%
view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 873.24kB -0.0%
static/chunks/7750-*.js -3 bytes 415.85kB -0.0%
server/middleware-*.js -5.55kB 1.0kB -84.74%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
static/iBmCauIXv-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/iBmCauIXv-*.js (New) 684 bytes 684 bytes 100.0% 🚀
static/lFf0jbHWvetMuGIAkEHVT/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/lFf0jbHWvetMuGIAkEHVT/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and makes sense to me from a structure/language standpoint. I'm not very familiar with Golang, so let's try and have a Go dev review the code samples as well 🤙

@giortzisg giortzisg merged commit 0669720 into master Aug 4, 2025
13 checks passed
@giortzisg giortzisg deleted the go-refactor-docs branch August 4, 2025 10:57
@github-actions github-actions bot locked and limited conversation to collaborators Aug 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants