Skip to content
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

Add Go code samples #92

Merged
merged 32 commits into from
Sep 30, 2024
Merged

Add Go code samples #92

merged 32 commits into from
Sep 30, 2024

Conversation

andrii-balitskyi
Copy link
Contributor

@andrii-balitskyi andrii-balitskyi commented Sep 24, 2024

closes #89

Copy link

vercel bot commented Sep 24, 2024

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

Name Status Preview Comments Updated (UTC)
blueprint ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 2:14pm

@andrii-balitskyi andrii-balitskyi marked this pull request as ready for review September 26, 2024 17:31
@andrii-balitskyi andrii-balitskyi requested a review from a team as a code owner September 26, 2024 17:31
@razor-x
Copy link
Collaborator

razor-x commented Sep 26, 2024

@andrii-balitskyi Can you update from main?

src/lib/code-sample/go.ts Outdated Show resolved Hide resolved
src/lib/code-sample/go.ts Show resolved Hide resolved
`.trim()
}

const getGoPackageName = (path: string): string => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is an example where the import is not import api "github.com/seamapi/go?

Copy link
Contributor Author

@andrii-balitskyi andrii-balitskyi Sep 27, 2024

Choose a reason for hiding this comment

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

For ex., import acs "github.com/seamapi/go/acs for acs.UsersListAccessibleEntrancesRequest or
import accesscodes "github.com/seamapi/go/accesscodes for accesscodes.UnmanagedConvertToManagedRequest or
import useridentities "github.com/seamapi/go/useridentities for useridentities.EnrollmentAutomationsDeleteRequest etc.

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.

Generate code samples for Go
3 participants