util

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package util provides common utility methods

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(slice []string, val string) bool

Contains returns true if the given slice contains the given string

func PanicIfError

func PanicIfError(err error)

PanicIfError panics if the error passed in is not nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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