Back to

Package kiwi

Latest Go to latest

The highest tagged major version is .

Published: Sep 3, 2020 | License: MIT | Module:


Kiwi Logo

A minimalistic in-memory key value store.

Go CI Docs CI Docs CD


You can think of Kiwi as thread safe global variables. This kind of library comes in helpful when you need to manage state accross your application which can be mutated with multiple threads. Kiwi protects your keys with mutex locks so you don’t have to.

Head over to for more details and documentation.


Kiwi requires Go >= 1.14

Kiwi can be integrated with your application just like any other go library.

go get -u

Now you can import kiwi any where in your code.

import ""

Basic usage

Create a store, add key and play with it. It’s that easy!

store := stdkiwi.NewStore()

if err := store.AddKey("my_string", "str"); err != nil {
  // handle error

myString := store.Str("my_string")

if err := myString.Update("Hello, World!"); err != nil {
  // handle error

str, err := myString.Get()
if err != nil {
  // handle error

fmt.Println(str) // Hello, World!

Check out the tutorial to learn how to use Kiwi.


We are always open for contributions. If you find any feature missing, or just want to report a bug, feel free to open an issue and/or submit a pull request regarding the same.

For more information on contribution, check out our docs.


If you have a query regarding the product or just want to say hello then feel free to visit or drop a mail at

Made by SDSLabs