mirror of
				https://github.com/XRPLF/xrpl-dev-portal.git
				synced 2025-11-04 11:55:50 +00:00 
			
		
		
		
	chore(docs): small style and comments changes and fixes
This commit is contained in:
		@@ -21,4 +21,6 @@ func main() {
 | 
			
		||||
		panic(err)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// ... custom code goes here
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user