utils

package
v4.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

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