util

package module
v0.0.0-...-402a48f Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: GPL-3.0 Imports: 1 Imported by: 6

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 interface{}) error

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

func CheckVal

func CheckVal(v interface{}) 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