From e5f301d9bfd92ccdaeb8dbc052d5ded7ceb10442 Mon Sep 17 00:00:00 2001 From: Shawn Reuland Date: Wed, 26 Nov 2025 13:44:39 -0800 Subject: [PATCH] more succinct migration guide steps for module rename --- MIGRATION.md | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 693944293..ae33597e0 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -11,11 +11,6 @@ Go client applications that were using SDK packages from `github.com/stellar/go` ```bash # Add the new module name go get github.com/stellar/go-stellar-sdk@latest - -# Remove the old module name -go mod edit -droprequire github.com/stellar/go - -go mod tidy ``` ### 2. Update imports in your code @@ -30,19 +25,19 @@ import "github.com/stellar/go/.." import "github.com/stellar/go-stellar-sdk/.." ``` -### 3. Update git remote (if you have the repo cloned) +### 3. Tidy up ```bash -git remote set-url origin https://github.com/stellar/go-stellar-sdk.git +go mod tidy ``` -### 4. API Changes +### 4. SDK Changes -No breaking API changes - all functions remain the same. +No breaking SDK changes - all functions remain the same. ### 5. Verify ```bash -go mod tidy -go test ./... +go list -m github.com/stellar/go +go: module github.com/stellar/go: not a known dependency ``` ## Need Help?