validate

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Credentials

func Credentials() error

Credentials validates public and private API keys have been set

func ObjectID

func ObjectID(s string) error

ObjectID validates a value is a valid ObjectID

func OptionalObjectID added in v1.0.0

func OptionalObjectID(val interface{}) error

OptionalObjectID validates a value is a valid ObjectID

func OptionalURL added in v1.1.0

func OptionalURL(val interface{}) error

OptionalURL validates a value is a valid URL for the cli store

func URL

func URL(val interface{}) error

URL validates a value is a valid URL for the cli store

Types

This section is empty.

Jump to

Keyboard shortcuts

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