chore(docs): small style and comments changes and fixes

This commit is contained in:
banasa44
2025-07-22 17:08:38 +02:00
parent 2aa7d5f4cc
commit 79ed25b125
4 changed files with 31 additions and 4 deletions

View File

@@ -21,4 +21,6 @@ func main() {
panic(err)
}
// ... custom code goes here
}

View File

@@ -9,7 +9,8 @@ import (
func main() {
// Define the network client
client := websocket.NewClient(websocket.NewClientConfig().WithHost("wss://s.altnet.rippletest.net:51233"))
client := websocket.NewClient(websocket.NewClientConfig().
WithHost("wss://s.altnet.rippletest.net:51233"))
// Disconnect the client when done. (Defer executes at the end of the function)
defer client.Disconnect()