Skip to main content

GET

Syntax

GET key

Module

generic

Categories

fast keyspace read

Description

Get the value at the specified key.

Examples

Get the value at the specified key:

db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
value, err := db.Get("key")