util

package
v0.0.0-...-8c24509 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorFromThisScope

func ErrorFromThisScope(rootCause, generalScopeErr string) error

ErrorFromThisScope can be used to get notified about a general error(what do you want from this function) and a specific error(`rootCause`), the statement who causes the error this method will log the rootCause and return the general error(`generalScopeErr`)

func IsValidURL

func IsValidURL(toTest string) bool

IsValidURL tests a string to determine if it is a valid URL or not.

func MergeStoresInplace

func MergeStoresInplace(dst, src core.RextKeyValueStore) (err error)

MergeStoresInplace to update key / values in destination with those in source

func StrSliceContains

func StrSliceContains(items []string, val string) bool

StrSliceContains return true if val found in items slice

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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