Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
datastore
✓ github.com/brotherlogic/datastore
Save and load a value from the datastore
package main
import (
"fmt"
"github.com/brotherlogic/datastore"
)
func main() {
ds := datastore.New()
if err := ds.Save("key", "value"); err != nil {
panic(err)
}
var val string
if err := ds.Load("key", &val); err != nil {
panic(err)
}
fmt.Println(val)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20240115181049-8eb2e5f4c132latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.