store

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package store provides a simple key/value store.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key string) (value any, ok bool)

Get returns the value stored in the store for a key, or nil if no value is present. The ok result indicates whether value was found in the store.

func Set

func Set(key string, value any)

Set sets the value for a key.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL