A simple key-value store
$ git clone https://github.com/skyoo2003/kvs.git
$ cd kvs
$ go install ./cmd/kvsThe kvs binary exposes a small Cobra-based CLI.
$ kvs --help
$ kvs -v
$ kvs version
$ kvs --config config.yaml versionUse --config when you want to load a specific Viper-compatible config file.
Import github.com/skyoo2003/kvs when you want a small in-memory store inside a Go program.
package main
import (
"fmt"
"github.com/skyoo2003/kvs"
)
func main() {
store := kvs.NewStore()
_ = store.Put("language", "go")
value, _ := store.Get("language")
fmt.Println(value)
}See CONTRIBUTING.md for the project contribution process.
The MIT License
Copyright (c) 2020-2021 Sung-Kyu Yoo