utils

package
v0.0.0-...-bc6c432 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitOnError

func ExitOnError(err error)

func HTTPClient

func HTTPClient(trustedCertificates [][]byte) (*http.Client, error)

HTTPClient creates a new http client

func IsDebugEnabled

func IsDebugEnabled() bool

IsDebugEnabled returns true if current log is Level set Debug

func NotImplementedError

func NotImplementedError(function string) error

func PrintCSV

func PrintCSV(dataPrint []string) error

func PrintJSON

func PrintJSON(dataPrint interface{}) error

func PrintPlain

func PrintPlain(dataPrint string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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