util

package module
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MPL-2.0 Imports: 1 Imported by: 74

Documentation

Overview

Package util contains utility functions that are used across all `gokv.Store` implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckKey

func CheckKey(k string) error

CheckKey returns an error if k == ""

func CheckKeyAndValue

func CheckKeyAndValue(k string, v any) error

CheckKeyAndValue returns an error if k == "" or if v == nil

func CheckVal

func CheckVal(v any) error

CheckVal returns an error if v == nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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