Skip to content

Commit

Permalink
fix golang unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Nov 10, 2023
1 parent d29a306 commit 5c2f2b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snippets/go/getting_started.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func (BreezListener) OnEvent(e breez_sdk.BreezEvent) {
log.Printf("received event %#v", e)
}

func GettingStarted() {
func GettingStarted() *breez_sdk.BlockingBreezServices {
// Create the default config
seed, err := breez_sdk.MnemonicToSeed("<mnemonic words>")
if err != nil {
Expand All @@ -38,6 +38,8 @@ func GettingStarted() {
if err != nil {
log.Fatalf("Connect failed: %#v", err)
}

return sdk
}

// ANCHOR_END: init-sdk
Expand Down

0 comments on commit 5c2f2b7

Please sign in to comment.