-
Notifications
You must be signed in to change notification settings - Fork 55
feat: add go snippets #735
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
Changes from 16 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
b2a246f
feat: add wallet address initial snippets
BlairCurrey be4cddd
chore: formatting
BlairCurrey 070a91a
feat: add token, wa info go sdk examples
BlairCurrey 2a4835a
feat: add more sdk examples, go back and make previous consistent
BlairCurrey c0f4414
feat: add grant sdk examples
BlairCurrey 514ce00
feat: add incoming payment examples
BlairCurrey 65366ea
feat: add op go sdk examples
BlairCurrey cf637a5
feat: add quote examples to go sdk
BlairCurrey 466470a
feat: fight prettier, add guide
BlairCurrey e1be9cf
feat: fight prettier, add guide
BlairCurrey d61d69c
feat: fight prettier, add guide
BlairCurrey b5e06a9
feat: fight prettier, add guide
BlairCurrey 57ee230
feat: fight prettier, add guide
BlairCurrey 7e22e43
feat: add guide
BlairCurrey 1a3af11
feat: add guide
BlairCurrey 35f7446
feat: add guide, fix missing interact ref in previous
BlairCurrey fef2763
Merge branch 'main' into blair/gol-16
BlairCurrey ee04ceb
chore: fight prettier, format
BlairCurrey 2e465af
chore: rm go stuff from chunked snippet
BlairCurrey a8e6c4f
chore: rm prettier ignore
BlairCurrey 915c72a
chore: fix extra backticks
BlairCurrey c581fe3
fix: formatting
BlairCurrey de15589
Update docs/src/content/docs/sdk/incoming-create.mdx
BlairCurrey 0a9a684
Update docs/src/content/docs/sdk/incoming-create.mdx
BlairCurrey af4ed0c
chore: format
BlairCurrey 8638ec3
docs: add es guide
BlairCurrey f889a1c
docs: add es guide
BlairCurrey cdc4a5f
docs: add es guide, fix en format
BlairCurrey 0cb5634
docs: add es guide
BlairCurrey d6b0cd2
docs: add es guide
BlairCurrey 2812c4a
docs: add es guide
BlairCurrey d78b91c
docs: add es guide
BlairCurrey ed89da3
docs: add es guide
BlairCurrey c4da92f
chore: pr feedback (formatting, revert submodule update)
BlairCurrey 0aa6f8c
Update docs/src/content/docs/guides/split-payments.mdx
BlairCurrey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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.
Happens in a few guides other guides, just needs a find+replace
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.
}); if err != nil {is a syntax error:syntax error: unexpected keyword if, expected expressioncan check out this example: https://go.dev/play/p/BPjtuPgQ-AO. If you replace it with the original
}); err != nil {you should see that it works.So I think it's fine as-is but to keep with your direction, it could be un-compacted a bit to this: