Skip to content

Latest commit

 

History

History

hello-world-go

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Hello, World - DiceDB + Go

This is a simple Hello, World application with DiceDB using Go SDK. The example, sets a key k1 with value v1 and then fetches the key k1 to get the value v1.

Before you run this example, please make sure you have installed DiceDB and are running it locally.

If not, you can change the connection parameters in the code and make your code point to some remote running instance of DiceDB

To run the example, execute the following command from this directory

$ go run main.go