Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SimpleAsWater: Hands-on IPLD Tutorial in Golang
// Fetch the details by reading the DAG for key "inputKey"
fmt.Printf("READ: Value for key \"%s\" is: ", inputKey)
res, err := GetDag(cid, inputKey)
if err != nil {
fmt.Println(err)
}
fmt.Println(res)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment