util

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2019 License: MPL-2.0 Imports: 1 Imported by: 0

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 added in v0.3.0

func CheckKey(k string) error

CheckKey returns an error if k == ""

func CheckKeyAndValue added in v0.3.0

func CheckKeyAndValue(k string, v interface{}) error

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

func CheckVal added in v0.3.0

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