Skip to content

feat: add dochub link to SDK code sample #775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 17, 2025
Merged

Conversation

andreaangiolillo
Copy link
Collaborator

Proposed changes

This PR adds a dochub link to the go SDK code sample.

@andreaangiolillo andreaangiolillo requested a review from a team as a code owner June 17, 2025 08:32
Comment on lines 42 to 43


// See https://dochub.mongodb.org/core/atlas-go-sdk-oauth
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is the main change

Copy link
Collaborator

Choose a reason for hiding this comment

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

since touching it can you move it to a template file and embed it here? https://pkg.go.dev/embed

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sure, thanks for the reminder

@andreaangiolillo andreaangiolillo enabled auto-merge (squash) June 17, 2025 08:37
@andreaangiolillo andreaangiolillo requested a review from gssbzn June 17, 2025 09:21
@andreaangiolillo andreaangiolillo requested a review from gssbzn June 17, 2025 09:36
Copy link
Collaborator

@gssbzn gssbzn left a comment

Choose a reason for hiding this comment

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

Thanks for the changes :shipit:

@andreaangiolillo andreaangiolillo merged commit 2759c53 into main Jun 17, 2025
9 of 10 checks passed
@andreaangiolillo andreaangiolillo deleted the feat_improvements branch June 17, 2025 10:08
@andreaangiolillo
Copy link
Collaborator Author

ops, I forgot I selected the auto merge 🤦 the windows test if failing because of the embed path.. I am trying to reproduce the issye on a windows host. I will open a follow up PR CC @gssbzn

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