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

fix: Go code samples #120

Merged
merged 4 commits into from
Oct 10, 2024
Merged

fix: Go code samples #120

merged 4 commits into from
Oct 10, 2024

Conversation

andrii-balitskyi
Copy link
Contributor

@andrii-balitskyi andrii-balitskyi commented Oct 10, 2024

For the gofmt formatter to work, it seems the package declaration should come before imports, and executable statements should be enclosed in a function. Also, there was a syntax error where parentheses were used instead of curly braces.

@andrii-balitskyi andrii-balitskyi requested a review from a team as a code owner October 10, 2024 10:48
Copy link

vercel bot commented Oct 10, 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 Oct 10, 2024 10:49am

@razor-x razor-x changed the title Fix Go code samples fix: Go code samples Oct 10, 2024
@razor-x razor-x merged commit 7d25f9f into main Oct 10, 2024
21 checks passed
@razor-x razor-x deleted the fix-go-code-samples branch October 10, 2024 18:58
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.

3 participants