Skip to content

Conversation

@BlairCurrey
Copy link
Contributor

PR Checklist

  • Linked issue added (e.g., Fixes #123)
  • I have run bun run format to ensure code is properly formatted
  • I have verified that bun run lint passes without errors
  • If blog post was added:
    • Ensure images have been optimised
    • Update dates to reflect the actual publishing date when merged (file names, folder names, and frontmatter)

Summary

  • Go sdk blog post
  • updated sdk mentions that were out of date (arguably should remove .Net and python as well?)

@netlify
Copy link

netlify bot commented Dec 19, 2025

Deploy Preview for developers-preview ready!

Name Link
🔨 Latest commit cae7013
🔍 Latest deploy log https://app.netlify.com/projects/developers-preview/deploys/696aa78c4a10a300084f632b
😎 Deploy Preview https://deploy-preview-181--developers-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.


Each Open Payments resource has a dedicated service with methods that map directly to API operations:

- `client.WalletAddress.Get()`, `GetKeys()`, `GetDIDDocument()`
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we don't have official support for GetDIDDocument so we can remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

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


We're actively developing Open Payments Go and have exciting plans ahead:

- **Official documentation integration** — Open Payments docs will include Go examples alongside JavaScript, TypeScript, and PHP examples.
Copy link
Contributor

Choose a reason for hiding this comment

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

You can just directly say that Go lang snippets are now published in the docs

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, I suggest saying "alongside other languages." or "alongside other languages like..." since there will be (are) more langs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good call. changed to use less brittle phrasing and linked to the docs since they are published now. Also merged these final sections into a "Get Involved" section since "What's Next" didnt feel necessary anymore.


// Initialize the authenticated client
client, err := openpayments.NewAuthenticatedClient(
"https://wallet.example.com/alice", // Your wallet address
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't have to be "Your wallet address" specifically, just the one the client uses to identify itself

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

| `httpsignatureutils` | HTTP signature creation and validation utilities |
| `test/integration` | Integration tests against Rafiki local and testnet environments |

### Service-Oriented Architecture
Copy link
Member

Choose a reason for hiding this comment

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

Ditto above, but here we can probably redirect the users to the SDKs section in the docs instead of listing everything here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed


Open Payments Go is designed around Go idioms and best practices, making it feel natural for Go developers while handling the complexity of the Open Payments protocol.

### Project Structure
Copy link
Member

Choose a reason for hiding this comment

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

I feel like this section will fit better in the actual README of the repository instead of the blog post, if someone wants to explore the project.

Copy link
Contributor Author

@BlairCurrey BlairCurrey Jan 16, 2026

Choose a reason for hiding this comment

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

yeah I agree... felt like I needed to get into the details of what it is somewhat but this is just too in-the-weeds.

I re-purposesd this section. I removed the project structure and methods, renamed to Under the Hood and framed it more as notable developer experience decisions. It still includes the HTTP Signatures Made Simple and Type-Safe Generated Types with OpenAPI Overlays which I think are important to highlight.

| `generated/resourceserver` | Types generated from the Resource Server OpenAPI spec |
| `generated/walletaddressserver` | Types generated from the Wallet Address Server OpenAPI spec |
| `httpsignatureutils` | HTTP signature creation and validation utilities |
| `test/integration` | Integration tests against Rafiki local and testnet environments |
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this reference also be to test wallet instead of testnet? Calling it out just in case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, but ended up removing.


- **Type safety at compile time**: Catch integration errors before runtime with Go's strong typing and the SDK's generated types.

- **Battle-tested**: Comprehensive integration tests run against both local Rafiki environments and the Interledger testnet, ensuring real-world reliability.
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, testnet

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

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.

5 participants