-
Notifications
You must be signed in to change notification settings - Fork 14
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
Conversation
|
||
|
||
// See https://dochub.mongodb.org/core/atlas-go-sdk-oauth |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
tools/cli/internal/openapi/filter/template/go_sdk_code_sample.txt
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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
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 |
Proposed changes
This PR adds a dochub link to the go SDK code sample.